ob desktops

master
Daniel Napora 2024-05-14 06:22:26 +02:00
parent ac5bde6dc5
commit fe51c190aa
1 changed files with 3 additions and 2 deletions

View File

@ -186,8 +186,9 @@ if [ $(wmctrl -l | awk $2 '!/-1/ {print $2}' | uniq |wc -l) -gt 0 ];then
fi fi
out+=("^sep($MANAGE)") out+=("^sep($MANAGE)")
desktops=$(wmctrl -d |wc -l) desktops=$(wmctrl -d |wc -l)
out+=("  $ADD,wmctrl -n $((desktops+1));$me") #out+=("  $ADD,wmctrl -n $((desktops+1));$me")
out+=("  $REMOVE_LAST,wmctrl -n $((desktops-1));$me") out+=("  $ADD,obxml desktops $((desktops+1));$me")
out+=("  $REMOVE_LAST,obxml desktops $((desktops-1));$me")