Introduces eww bar

This commit is contained in:
Michel Fedde 2025-11-11 17:44:06 +01:00
parent 75bc7eb6a7
commit e58899e4ae
30 changed files with 279 additions and 1147 deletions

13
.config/scripts/toggle-bar.sh Executable file
View file

@ -0,0 +1,13 @@
#!/bin/bash
for display in $(hyprctl -j monitors | jq -r 'map("\(.id)\n") | add'); do
id="bar-${display}"
if eww active-windows | grep "${id}"; then
eww close "${id}"
continue
fi
eww open bar --id "${id}" --arg monitor="${display}"
done