docker configs and modified screenshot script
This commit is contained in:
1 parent
95b73b38f8
commit
dbd98d0b47
5 files changed
+47
-5
No files matched your search
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# current highest-numbered workspace
|
||||
MAX_WORKSPACE=$(hyprctl workspaces -j | jq 'sort_by(.id) | reverse | .[0].id')
|
||||
|
||||
hyprctl dispatch workspace $(($MAX_WORKSPACE + 1))
|
||||
# generate ids from 1-100, remove the ids of existing workspaces, take the
|
||||
# first of the remaining numbers and you have the first available workspace id
|
||||
FIRST_AVAILABLE=$(hyprctl workspaces -j | jq '[range(1; 100)] - map(.id) | .[0]')
|
||||
|
||||
hyprctl dispatch workspace $FIRST_AVAILABLE
|
||||
Reference in new issue
Block a user