Add config from linux conf
This commit is contained in:
parent
174d913f73
commit
6ba1596291
124 changed files with 3913 additions and 2 deletions
10
dot_config/i3/scripts/empty_workspace
Normal file
10
dot_config/i3/scripts/empty_workspace
Normal 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}
|
Loading…
Add table
Add a link
Reference in a new issue