new stuff with stow, hell yeah

This commit is contained in:
thatscringebro
2024-04-09 20:54:51 -04:00
parent 0c08b1cfe8
commit 5bedd18d7b
31 changed files with 2467 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
#!/usr/bin/env bash
MAX_DESKTOPS=20
WORKSPACES=$(seq -s '\n' 1 1 ${MAX_DESKTOPS})
EMPTY_WORKSPACE=$( (i3-msg -t get_workspaces | tr ',' '\n' | grep num | awk -F: '{print int($2)}' ; \
echo -e ${WORKSPACES} ) | sort -n | uniq -u | head -n 1)
i3-msg workspace ${EMPTY_WORKSPACE}