From 41186f70fd05fca7acea4efae9a66b057e68f87c Mon Sep 17 00:00:00 2001 From: Joel Mathew Thomas Date: Sun, 1 Jun 2025 17:14:22 +0530 Subject: [PATCH] add bind to show or hide waybar --- .config/hypr/hyprland.conf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 255757d..ae63d1f 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -137,7 +137,7 @@ animations { animation = layersOut, 1, 1.5, linear, popin 80% animation = fadeLayersIn, 1, 1.79, almostLinear animation = fadeLayersOut, 1, 1.39, almostLinear - animation = workspaces, 1, 4.5, quick, fade + animation = workspaces, 1, 5, quick, fade } dwindle { @@ -208,8 +208,11 @@ bind = $mainMod SHIFT, B, exec, librewolf --private-window bind = , Print, exec, grim -g "$(slurp -d)" "$HOME/Pictures/grim/$(date +'%Y_%m_%d_%H_%M_%S').png" bind = ALT , Print, exec, grim -t jpeg -q 100 -g "$(slurp -d)" "$HOME/Pictures/grim/$(date +'%Y_%m_%d_%H_%M_%S').jpeg" bind = $mainMod , Print ,exec, grim -g "$(slurp -d)" -| wl-copy -# Move focus with mainMod + arrow keys +# Show or hide waybar +bind = $mainMod SHIFT, W, exec, pgrep -x waybar && pkill -x waybar || waybar & + +# Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l bind = $mainMod, right, movefocus, r bind = ALT, Tab, cyclenext,