docker configs and modified screenshot script

This commit is contained in:
jfmonty2 committed 2025-09-08 21:37:53 -04:00
1 parent 95b73b38f8
commit dbd98d0b47
5 files changed
+47 -5

No files matched your search

+4 -4
View File
@@ -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