modify hyprland config
This commit is contained in:
parent
3b62a2b1d3
commit
c292691b6a
2 changed files with 16 additions and 0 deletions
|
@ -15,6 +15,8 @@ bind = $mainMod+Shift, Y, exec, ~/.config/fuzzel/fuzzel-rbw.sh
|
|||
bind = $mainMod+Shift, M, exec, ~/.config/hypr/scripts/power.sh exit
|
||||
bind = $mainMod+Shift, N, exec, swaync-client -t -sw
|
||||
bind = $mainMod+Shift, P, exec, ~/.config/hypr/scripts/dotool_wp-paste.sh
|
||||
# Toggle animations/blur/etc hotkey
|
||||
bind = $mainMod+Shift, G, exec, ~/.config/hypr/scripts/gamemode.sh
|
||||
bind = $mainMod, E, exec, $fileManager
|
||||
bind = $mainMod, F, fullscreen,
|
||||
bind = $mainMod, V, togglefloating,
|
||||
|
|
14
dot_config/hypr/scripts/executable_gamemode.sh
Normal file
14
dot_config/hypr/scripts/executable_gamemode.sh
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/usr/bin/env sh
|
||||
HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==1{print $2}')
|
||||
if [ "$HYPRGAMEMODE" = 1 ] ; then
|
||||
hyprctl --batch "\
|
||||
keyword animations:enabled 0;\
|
||||
keyword decoration:drop_shadow 0;\
|
||||
keyword decoration:blur:enabled 0;\
|
||||
keyword general:gaps_in 0;\
|
||||
keyword general:gaps_out 0;\
|
||||
keyword general:border_size 1;\
|
||||
keyword decoration:rounding 0"
|
||||
exit
|
||||
fi
|
||||
hyprctl reload
|
Loading…
Add table
Reference in a new issue