Configuring/Uncommon tips & tricks: update alttab (#1091)

This commit is contained in:
aphelei 2025-05-30 17:18:21 +02:00 committed by GitHub
parent c637ccc34d
commit ec5749e121
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -286,8 +286,9 @@ submap=alttab
bind = ALT, tab, sendshortcut, , tab, class:alttab
bind = ALT SHIFT, tab, sendshortcut, shift, tab, class:alttab
bindrt = ALT, ALT_L, exec, $XDG_CONFIG_HOME/hypr/scripts/alttab/disable.sh ; hyprctl -q dispatch sendshortcut ,return,class:alttab
bind = ALT, escape, exec, $XDG_CONFIG_HOME/hypr/scripts/alttab/disable.sh ; hyprctl -q dispatch sendshortcut ,escape,class:alttab
bindrt = ALT, ALT_L, exec, $XDG_CONFIG_HOME/hypr/scripts/alttab/disable.sh ; hyprctl -q dispatch sendshortcut , return,class:alttab
bind = ALT, Return, exec, $HOME/.config/hypr/scripts/alttab/disable.sh ; hyprctl -q dispatch sendshortcut ,return, class:alttab
bind = ALT, escape, exec, $XDG_CONFIG_HOME/hypr/scripts/alttab/disable.sh ; hyprctl -q dispatch sendshortcut , escape,class:alttab
submap = reset
workspace = special:alttab, gapsout:0, gapsin:0, bordersize:0
@ -315,7 +316,7 @@ address=$(hyprctl -j clients | jq -r 'sort_by(.focusHistoryID) | .[] | select(.w
awk -F"\t" '{print $1}')
if [ -n "$address" ] ; then
hyprctl --batch -q "dispatch focuswindow address:$address;dispatch alterzorder top"
hyprctl --batch -q "dispatch focuswindow address:$address ; dispatch alterzorder top"
fi
hyprctl -q dispatch submap reset