New backup 2025-03-12 21:30:02
This commit is contained in:
parent
68ea9c712a
commit
cb90461b8c
3 changed files with 9 additions and 3 deletions
|
@ -1,6 +1,4 @@
|
||||||
(defpoll active_profile :initial false
|
(deflisten active_profile "scripts/bar/profile")
|
||||||
:interval "60s"
|
|
||||||
"sp-profile-icon")
|
|
||||||
(defwidget profile []
|
(defwidget profile []
|
||||||
(button :onclick "sp-profiles next"
|
(button :onclick "sp-profiles next"
|
||||||
:class "profile"
|
:class "profile"
|
||||||
|
|
3
de/home/.config/eww/scripts/bar/profile
Executable file
3
de/home/.config/eww/scripts/bar/profile
Executable file
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
echo ~/.cache/sway-profiles/active_profile | entr -n sp-profile-icon
|
5
de/home/.config/eww/scripts/bar/volume
Executable file
5
de/home/.config/eww/scripts/bar/volume
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
pactl subscribe | awk '/new/ && /sink-input/' | while read -p event;do
|
||||||
|
echo "test"
|
||||||
|
done
|
Loading…
Add table
Reference in a new issue