Switch to eww for status bar
This commit is contained in:
parent
f4c7c3e1e2
commit
106a9f4b38
15 changed files with 704 additions and 10 deletions
10
home-manager/wayland/eww/scripts/volume
Executable file
10
home-manager/wayland/eww/scripts/volume
Executable file
|
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
volume() {
|
||||
echo '{"value":'$(pamixer --get-volume)',"muted":"'$(pamixer --get-mute)'"}'
|
||||
}
|
||||
|
||||
volume
|
||||
pw-mon -oa | stdbuf -o0 grep -os "changed:" | while read -r line; do
|
||||
volume
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue