blob: b9d48b230855c6f8a0aa393850212076e8ad1728 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/sh
while getopts "lr" o; do case "${o}" in
l) DIR='l' ;;
r) DIR='r' ;;
esac done
case "$DIR" in
'l')
hyprctl dispatch layoutmsg movewindowto 'l'
hyprctl dispatch layoutmsg focus 'd'
hyprctl dispatch layoutmsg promote
hyprctl dispatch layoutmsg focus 'l'
;;
'r')
hyprctl dispatch layoutmsg movewindowto 'r'
hyprctl dispatch layoutmsg promote
hyprctl dispatch layoutmsg focus 'l'
hyprctl dispatch layoutmsg focus 'r'
;;
esac
|