Fix layout dwm regression
Signed-off-by: Stacy Harper <contact@stacyharper.net> Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
This commit is contained in:
parent
5b705dc91b
commit
2e6ce5c810
2 changed files with 18 additions and 2 deletions
|
@ -176,11 +176,11 @@ case "$ACTION" in
|
|||
exit 0
|
||||
;;
|
||||
"voldown_one")
|
||||
swaymsg layout toggle splith splitv tabbed
|
||||
sxmo_wm.sh togglelayout
|
||||
exit
|
||||
;;
|
||||
"voldown_two")
|
||||
swaymsg focus tiling
|
||||
sxmo_wm.sh switchfocus
|
||||
exit
|
||||
;;
|
||||
"voldown_three")
|
||||
|
|
|
@ -118,6 +118,22 @@ xorgexecwait() {
|
|||
exec "$@"
|
||||
}
|
||||
|
||||
swaytogglelayout() {
|
||||
swaymsg layout toggle splith splitv tabbed
|
||||
}
|
||||
|
||||
xorgtogglelayout() {
|
||||
xdotool key --clearmodifiers key Super+space
|
||||
}
|
||||
|
||||
swayswitchfocus() {
|
||||
swaymsg focus tiling
|
||||
}
|
||||
|
||||
xorgswitchfocus() {
|
||||
xdotool key --clearmodifiers Super+x
|
||||
}
|
||||
|
||||
guesswm() {
|
||||
if [ -n "$SWAYSOCK" ]; then
|
||||
printf "sway"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue