initialitation
This commit is contained in:
0
.config/eww/eww.scss
Normal file
0
.config/eww/eww.scss
Normal file
18
.config/eww/eww.yuck
Normal file
18
.config/eww/eww.yuck
Normal file
@@ -0,0 +1,18 @@
|
||||
(defwidget volume_box [?text]
|
||||
(box :orientation "horizontal"
|
||||
:halign "center"
|
||||
text
|
||||
)
|
||||
)
|
||||
(defwindow volume
|
||||
:windowtype "normal"
|
||||
:stacking "fg"
|
||||
:monitor "1"
|
||||
:geometry (geometry :x "20px"
|
||||
:y "20px"
|
||||
:width "20px"
|
||||
:heigth "30px")
|
||||
|
||||
(volume_box :text "hello world"
|
||||
)
|
||||
)
|
||||
2
.config/eww/scripts/sound_volume
Executable file
2
.config/eww/scripts/sound_volume
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
pactl get-sink-volume 0 | grep -m 1 -o '[0-9]*%' | head -1 | sed 's/%//'
|
||||
Reference in New Issue
Block a user