diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf index 34b46c1..32c8872 100644 --- a/.config/hypr/hyprland.conf +++ b/.config/hypr/hyprland.conf @@ -55,6 +55,7 @@ $terminal = kitty $screenprint = ~/.config/scripts/screenprint.sh $screenrec = ~/.config/scripts/screenrec.sh $screenrecstop = ~/.config/scripts/screenrecstop.sh +$gamemode = ~/.config/scripts/gamemode.sh ################# ### AUTOSTART ### @@ -279,7 +280,7 @@ bind = $mainMod, Print, exec, $screenprint bind = $mainMod SHIFT, Print, exec, $screenrec bind = $mainMod SHIFT, PAUSE, exec, $screenrecstop bind = $mainMod, D, exec, swaync-client -t -bind = $mainMod, G, exec, hyprctl keyword decoration:blur:enabled false && hyprctl keyword animations:enabled false && hyprctl keyword general:allow_tearing true && hyprctl keyword decoration:drop_shadow false && notify-send "Game Mode" "game mode is active" && hyprctl dispatch submap gamemode +bind = $mainMod, G, exec, $gamemode # Move focus with mainMod + arrow keys bind = $mainMod, left, movefocus, l @@ -387,6 +388,6 @@ bindl = , XF86AudioPause, exec, playerctl play-pause bindl = , XF86AudioPlay, exec, playerctl play-pause bindl = , XF86AudioPrev, exec, playerctl previous -bind = $mainMod, G, exec, hyprctl keyword decoration:blur:enabled true && hyprctl keyword animations:enabled true && hyprctl keyword general:allow_tearing false && hyprctl keyword decoration:drop_shadow false && notify-send "Game Mode" "game mode is deactive" && hyprctl dispatch submap reset +bind = $mainMod, G, exec, $gamemode submap = reset