ob desktops

master
Daniel Napora 2024-05-14 06:21:19 +02:00
parent b8f49b16c7
commit f4cc1ac319
1 changed files with 6 additions and 0 deletions

View File

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