]> Freerunner's - dotfiles.git/commitdiff
hypr: update powermenu
authorAndre Ramnitz <tux.rising@gmail.com>
Fri, 22 Dec 2023 12:21:06 +0000 (13:21 +0100)
committerAndre Ramnitz <tux.rising@gmail.com>
Sun, 18 Aug 2024 16:18:52 +0000 (18:18 +0200)
config/hypr/hyprland.conf
config/hypr/scripts/powermenu.sh

index 4bc3004032abdab322719b6b1850b13a17d53038..365c784cd7ceee87c7c5e3bab480f15b591cd17e 100644 (file)
@@ -205,8 +205,8 @@ bind = $mainmod, S, togglesplit, # dwindle
 bind = ALT SHIFT, F12, exec, ~/.config/hypr/scripts/gamemode.sh
 bind = $mainmod, G, togglegroup
 bind = $mainmod SHIFT, G, lockactivegroup, toggle
-bind = $mainmod, TAB, focuscurrentorlast
-bind = ALT,      TAB, exec, ~/.config/hypr/scripts/windowswitch-rg.sh
+bind = ALT,      TAB, focuscurrentorlast
+bind = $mainmod, TAB, exec, ~/.config/hypr/scripts/windowswitch-rg.sh
 
 # Move focus with mainMod + arrow keys
 bind = $mainmod, left, movefocus, l
@@ -298,4 +298,4 @@ bind = $mainmod, Print, exec, grim -g "$(slurp)" - | swappy -f -
 
 # 'scratchpad
 bind = $mainmod, I, togglespecialworkspace, overlay
-bind = $mainmod SHIFT, I, movetoworkspace, special:overlay
+bind = $mainmod SHIFT, I, movetoworkspacesilent, special:overlay
index 62d581287ee2d5b533e11b1398290a8eec64861b..8f4367ceb1f787609469ddf959c3872976fa1a7d 100755 (executable)
@@ -11,9 +11,9 @@ case $selected in
     logout)
         hyprctl dispatch exit;;
     suspend)
-        exec loginctl suspend;;
+        sync && exec loginctl suspend;;
     reboot)
-        exec loginctl reboot;;
+        sync && exec loginctl reboot;;
     shutdown)
-        exec loginctl poweroff -i;;
+        sync && exec loginctl poweroff -i;;
 esac