Fix layout dwm regression

Signed-off-by: Stacy Harper <contact@stacyharper.net>
Signed-off-by: Maarten van Gompel <proycon@anaproy.nl>
master
Stacy Harper 3 years ago committed by Maarten van Gompel
parent 5b705dc91b
commit 2e6ce5c810
  1. 4
      scripts/core/sxmo_inputhandler.sh
  2. 16
      scripts/core/sxmo_wm.sh

@ -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…
Cancel
Save