New backup 2025-03-12 21:30:02

This commit is contained in:
Penelope Gwen 2025-03-12 21:30:02 -07:00
parent 68ea9c712a
commit cb90461b8c
3 changed files with 9 additions and 3 deletions
de/home/.config/eww
modules/bar
scripts/bar

View file

@ -1,6 +1,4 @@
(defpoll active_profile :initial false
:interval "60s"
"sp-profile-icon")
(deflisten active_profile "scripts/bar/profile")
(defwidget profile []
(button :onclick "sp-profiles next"
:class "profile"

View file

@ -0,0 +1,3 @@
#!/bin/bash
echo ~/.cache/sway-profiles/active_profile | entr -n sp-profile-icon

View file

@ -0,0 +1,5 @@
#!/bin/bash
pactl subscribe | awk '/new/ && /sink-input/' | while read -p event;do
echo "test"
done