docker configs and modified screenshot script

This commit is contained in:
2025-09-08 21:37:53 -04:00
parent 95b73b38f8
commit dbd98d0b47
5 changed files with 47 additions and 5 deletions

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