ob desktops

This commit is contained in:
Daniel Napora 2024-05-14 06:22:26 +02:00
parent ac5bde6dc5
commit fe51c190aa

View File

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