feat: hyprfocus and exta dispatchers plugins;
feat: hyprfocus opacity is disabled in game mode
This commit is contained in:
@@ -448,9 +448,6 @@ bind = $mainMod CTRL, L, layoutmsg, preselect r
|
|||||||
bind = $mainMod CTRL, J, layoutmsg, preselect d
|
bind = $mainMod CTRL, J, layoutmsg, preselect d
|
||||||
bind = $mainMod CTRL, K, layoutmsg, preselect u
|
bind = $mainMod CTRL, K, layoutmsg, preselect u
|
||||||
|
|
||||||
# Toggle layout type
|
|
||||||
bind = $mainMod SHIFT, X, exec, hyprctl keyword general:layout "$(hyprctl getoption general:layout | grep -q 'dwindle' && echo 'master' || echo 'dwindle')"
|
|
||||||
|
|
||||||
# Window grouping
|
# Window grouping
|
||||||
bind = $mainMod CTRL ALT, M, togglegroup
|
bind = $mainMod CTRL ALT, M, togglegroup
|
||||||
bind = $mainMod, comma, changegroupactive, b
|
bind = $mainMod, comma, changegroupactive, b
|
||||||
@@ -601,7 +598,18 @@ exec-once = hyprpm reload -n
|
|||||||
# Easymotion
|
# Easymotion
|
||||||
bind = SUPER, x, easymotion, action:hyprctl dispatch focuswindow address:{}
|
bind = SUPER, x, easymotion, action:hyprctl dispatch focuswindow address:{}
|
||||||
|
|
||||||
|
# Close unfocused
|
||||||
|
bind = $mainMod SHIFT, x, plugin:xtd:closeunfocused
|
||||||
|
|
||||||
plugin {
|
plugin {
|
||||||
|
|
||||||
|
hyprfocus {
|
||||||
|
animation = hyprfocusIn, 1, 3, quick
|
||||||
|
animation = hyprfocusOut, 1, 3, quick
|
||||||
|
fade_opacity = 0.95
|
||||||
|
mode = flash
|
||||||
|
}
|
||||||
|
|
||||||
easymotion {
|
easymotion {
|
||||||
#font size of the text
|
#font size of the text
|
||||||
textsize=72
|
textsize=72
|
||||||
|
|||||||
@@ -6,7 +6,8 @@ if [ "$HYPRGAMEMODE" = 1 ] ; then
|
|||||||
keyword decoration:shadow:enabled 0;\
|
keyword decoration:shadow:enabled 0;\
|
||||||
keyword decoration:blur:enabled 0;\
|
keyword decoration:blur:enabled 0;\
|
||||||
keyword general:border_size 1;\
|
keyword general:border_size 1;\
|
||||||
keyword decoration:rounding 0"
|
keyword decoration:rounding 0;\
|
||||||
|
keyword plugin:hyprfocus:fade_opacity 1"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
hyprctl reload
|
hyprctl reload
|
||||||
|
|||||||
Reference in New Issue
Block a user