eww widgets and theme cycle with waybar button

This commit is contained in:
samantha42
2026-04-19 08:55:14 +02:00
parent 39f39701a7
commit 22eb9ddc46
20 changed files with 932 additions and 150 deletions

View File

@@ -184,7 +184,7 @@ $mainMod = SUPER # Sets "Windows" key as main modifier
bind = $mainMod, return, exec, $terminal
bind = $mainMod, W, killactive,
bind = $mainMod, M, exec, command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit
bind = SUPER, R, exec, sh -c '~/.config/hypr/reload.sh'
bind = $mainMod, R, exec, sh -c '~/.config/hypr/reload.sh'
bind = $mainMod, V, togglefloating,
bind = $mainMod, space, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
@@ -227,6 +227,18 @@ bind = SUPER SHIFT, left, movetoworkspacesilent, e-1
bind = SUPER ALT, right, movefocus, r
bind = SUPER ALT, left, movefocus, l
# Navigate workspaces (2D)
#bind = SUPER, right, exec, ~/.config/hypr/2d-nav.sh right && pkill -SIGRTMIN+8 waybar
#bind = SUPER, left, exec, ~/.config/hypr/2d-nav.sh left && pkill -SIGRTMIN+8 waybar
#bind = SUPER, up, exec, ~/.config/hypr/2d-nav.sh up && pkill -SIGRTMIN+8 waybar
#bind = SUPER, down, exec, ~/.config/hypr/2d-nav.sh down && pkill -SIGRTMIN+8 waybar
# Move window to workspace (2D)
#bind = SUPER SHIFT, right, exec, ~/.config/hypr/2d-nav.sh move-right && pkill -SIGRTMIN+8 waybar
#bind = SUPER SHIFT, left, exec, ~/.config/hypr/2d-nav.sh move-left && pkill -SIGRTMIN+8 waybar
#bind = SUPER SHIFT, up, exec, ~/.config/hypr/2d-nav.sh move-up && pkill -SIGRTMIN+8 waybar
#bind = SUPER SHIFT, down, exec, ~/.config/hypr/2d-nav.sh move-down && pkill -SIGRTMIN+8 waybar
# Example special workspace (scratchpad)
@@ -300,10 +312,57 @@ windowrule {
move = 20 monitor_h-120
float = yes
}
# env stuff
exec-once = waybar
exec-once = waybar --style ~/.config/waybar/style.css
exec-once = hyprpaper
exec-once = ~/.config/hypr/autostart.sh
exec-once = ~/.config/hypr/wallpaper-cycle.sh
exec-once = ~/.config/hypr/theme-cycle.sh
exec-once = [workspace 1 silent] firefox
exec-once = [workspace 10 silent] firefox --new-instance
windowrule {
name = firefox-to-ws2
match:class = ^(firefox)$
workspace = 1 silent
}
windowrule {
name = code-to-ws2
match:class = ^(code)$
workspace = 2 silent
}
windowrule {
name = vesktop-to-ws6
match:class = ^(vesktop)$
workspace = 4 silent
}
windowrule {
name = vesktop-to-ws6
match:class = ^(vesktop)$
workspace = 4 silent
}
windowrule {
name = steam-to-ws7
match:class = ^(steam)$
workspace = 6 silent
}
windowrule {
name = firefox-to-ws10
match:class = ^(firefox)$
workspace = 10 silent
}
windowrule {
name = eww-volume-float
match:class = ^(eww)$
float = yes
}