i3wm configs

This commit is contained in:
2021-05-25 23:20:05 -07:00
parent 9a84ceaa45
commit 544dc84c26
10 changed files with 1010 additions and 0 deletions

10
bin/i3_empty_workspace.sh Executable file
View File

@@ -0,0 +1,10 @@
#!/bin/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}