Regenerated

This commit is contained in:
2026-04-09 15:02:19 +02:00
parent ab27118931
commit 6eb0c25729
4 changed files with 311 additions and 332 deletions
+309 -316
View File
File diff suppressed because it is too large Load Diff
+1 -8
View File
@@ -2691,17 +2691,10 @@ These are config files for waybar
"orientation": "horizontal", "orientation": "horizontal",
"modules": [ "modules": [
"hyprland/workspaces", "hyprland/workspaces",
"custom/workspaces-separator",
"custom/windows" "custom/windows"
] ]
}, },
"custom/workspaces-separator": {
"format": " - ",
"tooltip": false
},
/*******************************************************************/ /*******************************************************************/
"group/hardware": { "group/hardware": {
"orientation": "horizontal", "orientation": "horizontal",
@@ -3062,7 +3055,7 @@ active_ws=$(hyprctl activeworkspace -j | jq -r '.id')
clients=$(hyprctl clients -j | jq -r \ clients=$(hyprctl clients -j | jq -r \
".[] | select(.workspace.id==$active_ws) | \"\(.title)\"") ".[] | select(.workspace.id==$active_ws) | \"\(.title)\"")
# Count clients # Count clients
count=$(echo "$clients" | grep -c .) count=$(echo "-$clients" | grep -c .)
# If no clients → hide module # If no clients → hide module
if [ "$count" -eq 0 ]; then if [ "$count" -eq 0 ]; then
jq -c -n '{text:"", class:"hidden"}' jq -c -n '{text:"", class:"hidden"}'
-7
View File
@@ -29,17 +29,10 @@
"orientation": "horizontal", "orientation": "horizontal",
"modules": [ "modules": [
"hyprland/workspaces", "hyprland/workspaces",
"custom/workspaces-separator",
"custom/windows" "custom/windows"
] ]
}, },
"custom/workspaces-separator": {
"format": " - ",
"tooltip": false
},
/*******************************************************************/ /*******************************************************************/
"group/hardware": { "group/hardware": {
"orientation": "horizontal", "orientation": "horizontal",
@@ -5,7 +5,7 @@ active_ws=$(hyprctl activeworkspace -j | jq -r '.id')
clients=$(hyprctl clients -j | jq -r \ clients=$(hyprctl clients -j | jq -r \
".[] | select(.workspace.id==$active_ws) | \"\(.title)\"") ".[] | select(.workspace.id==$active_ws) | \"\(.title)\"")
# Count clients # Count clients
count=$(echo "$clients" | grep -c .) count=$(echo "-$clients" | grep -c .)
# If no clients → hide module # If no clients → hide module
if [ "$count" -eq 0 ]; then if [ "$count" -eq 0 ]; then
jq -c -n '{text:"", class:"hidden"}' jq -c -n '{text:"", class:"hidden"}'