This commit is contained in:
Clay Gomera 2023-02-22 02:12:57 -04:00
parent 16278c8e37
commit ddfda07f01
6 changed files with 29 additions and 11 deletions

View file

@ -25,7 +25,7 @@ input {
general { general {
gaps_in = 5 gaps_in = 5
gaps_out = 5 gaps_out = 5
border_size = 1 border_size = 3
col.active_border = rgb(9d0006) rgb(fb4934) 45deg col.active_border = rgb(9d0006) rgb(fb4934) 45deg
col.inactive_border = rgb(504945) col.inactive_border = rgb(504945)
layout = master layout = master
@ -101,16 +101,33 @@ $conMod = CONTROL
bind = $supMod, RETURN, exec, wezterm bind = $supMod, RETURN, exec, wezterm
bind = $supMod, Q, killactive, bind = $supMod, Q, killactive,
bind = $supMod_$conMod_SHIFT, Q, exit, bind = $supMod_$conMod_SHIFT, Q, exit,
bind = $supMod, D, exec, pkill rofi || rofi -show drun bind = $supMod, R, exec, pkill rofi || rofi -show drun
bind = $supMod, B, exec, pkill waybar || waybar
bind = $supMod, V, togglefloating, bind = $supMod, V, togglefloating,
bind = $supMod, P, pseudo, # dwindle bind = $supMod, P, pseudo, # dwindle
bind = $supMod, J, togglesplit, # dwindle bind = $supMod, J, togglesplit, # dwindle
# Move focus with supMod + arrow keys # Move focus with supMod + arrow keys
bind = $supMod, h, movefocus, l bind = $supMod, k, layoutmsg, cyclenext
bind = $supMod, l, movefocus, r bind = $supMod, j, layoutmsg, cycleprev
bind = $supMod, k, movefocus, u
bind = $supMod, j, movefocus, d # swap windows
bind = $supMod_SHIFT, j, layoutmsg, swapnext
bind = $supMod_SHIFT, k, layoutmsg, swapprev
# focus master window
bind = $supMod_SHIFT, RETURN, layoutmsg, focusmaster
# swap window with master
bind = $supMod_$conMod, RETURN, layoutmsg, swapwithmaster
# add window to master stack
bind = $supMod, I, layoutmsg, addmaster
bind = $supMod, D, layoutmsg, removemaster
# change the master orientation
bind = $supMod, h, layoutmsg, orientationnext
bind = $supMod, l, layoutmsg, orientationprev
# Switch workspaces with supMod + [0-9] # Switch workspaces with supMod + [0-9]
bind = $supMod, 1, workspace, 1 bind = $supMod, 1, workspace, 1

View file

@ -1,2 +1,2 @@
preload = ~/.config/hypr/wallpaper.jpg preload = ~/.config/hypr/wallpaper.png
wallpaper = eDP-1,contain:~/.config/hypr/wallpaper.jpg wallpaper = eDP-1,contain:~/.config/hypr/wallpaper.png

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

View file

@ -3,6 +3,7 @@ configuration{
lines: 10; lines: 10;
font: "mononoki Nerd Font 14"; font: "mononoki Nerd Font 14";
show-icons: true; show-icons: true;
icon-theme: "gruvbox-dark-icons-gtk";
terminal: "alacritty"; terminal: "alacritty";
drun-display-format: "{icon} {name}"; drun-display-format: "{icon} {name}";
location: 0; location: 0;

View file

@ -26,7 +26,7 @@ pwr4=" Cancel"
pwrs="$pwr1\n$pwr2\n$pwr3\n$pwr4" pwrs="$pwr1\n$pwr2\n$pwr3\n$pwr4"
## MAIN ACTION COMMAND ## ## MAIN ACTION COMMAND ##
action=$(echo -e "$options" | rofi -dmenu -p "  Power Options ") action=$(echo -e "$options" | rofi -dmenu -i -p "  Power Options ")
case "$action" in case "$action" in
$option1*) $option1*)
pkill Hyprland;; pkill Hyprland;;
@ -49,7 +49,7 @@ case "$action" in
elif [ "$currentpwr" = "balanced" ]; then elif [ "$currentpwr" = "balanced" ]; then
currentpwr=" Balanced" currentpwr=" Balanced"
fi fi
pwraction=$(echo -e "$pwrs" | rofi -dmenu -p "  Power Profile Menu - Currently set to: ${currentpwr} ") pwraction=$(echo -e "$pwrs" | rofi -dmenu -i -p "  Power Profile Menu - Currently set to: ${currentpwr} ")
case "$pwraction" in case "$pwraction" in
$pwr1*) $pwr1*)
powerprofilesctl set performance && notify-send "Power profile switched to performance";; powerprofilesctl set performance && notify-send "Power profile switched to performance";;

View file

@ -2,7 +2,7 @@
"position": "top", "position": "top",
"height": 28, "height": 28,
//"width": 1280, //"width": 1280,
"spacing": 10, "spacing": 0,
// Choose the order of the modules // Choose the order of the modules
"modules-left": ["wlr/workspaces"], "modules-left": ["wlr/workspaces"],