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
|
exit 0
|
||||||
;;
|
;;
|
||||||
"voldown_one")
|
"voldown_one")
|
||||||
swaymsg layout toggle splith splitv tabbed
|
sxmo_wm.sh togglelayout
|
||||||
exit
|
exit
|
||||||
;;
|
;;
|
||||||
"voldown_two")
|
"voldown_two")
|
||||||
swaymsg focus tiling
|
sxmo_wm.sh switchfocus
|
||||||
exit
|
exit
|
||||||
;;
|
;;
|
||||||
"voldown_three")
|
"voldown_three")
|
||||||
|
|
|
@ -118,6 +118,22 @@ xorgexecwait() {
|
||||||
exec "$@"
|
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() {
|
guesswm() {
|
||||||
if [ -n "$SWAYSOCK" ]; then
|
if [ -n "$SWAYSOCK" ]; then
|
||||||
printf "sway"
|
printf "sway"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue