ob desktops

This commit is contained in:
Daniel Napora 2024-05-14 06:21:19 +02:00
parent b8f49b16c7
commit f4cc1ac319

View File

@ -51,12 +51,18 @@ case "$1" in
esac esac
} }
desktops() {
set '/a:openbox_config/a:desktops/a:number' ${1}
wmctrl -n ${1}
}
case "$1" in case "$1" in
sel)sel "$2";; sel)sel "$2";;
set)set "$2" "$3";; set)set "$2" "$3";;
switch_desk)switch_desk "$2";; switch_desk)switch_desk "$2";;
show_desk)show_desk "$2";; show_desk)show_desk "$2";;
focus_follow_mouse)focus_follow_mouse "$2";; focus_follow_mouse)focus_follow_mouse "$2";;
desktops)desktops "$2";;
esac esac