fix sway status
This commit is contained in:
parent
7b12fe5852
commit
c2681f0cab
@ -37,10 +37,6 @@ interval=5
|
|||||||
command=~/.config/i3blocks/scripts/builder.sh bluetooth_battery
|
command=~/.config/i3blocks/scripts/builder.sh bluetooth_battery
|
||||||
interval=5
|
interval=5
|
||||||
|
|
||||||
[battery]
|
|
||||||
command=~/.config/i3blocks/scripts/builder.sh battery
|
|
||||||
interval=30
|
|
||||||
|
|
||||||
[volume]
|
[volume]
|
||||||
command=~/.config/i3blocks/scripts/builder.sh volume
|
command=~/.config/i3blocks/scripts/builder.sh volume
|
||||||
interval=1
|
interval=1
|
||||||
@ -59,6 +55,10 @@ signal=1
|
|||||||
command=~/.config/i3blocks/scripts/builder.sh userhost
|
command=~/.config/i3blocks/scripts/builder.sh userhost
|
||||||
signal=1
|
signal=1
|
||||||
|
|
||||||
|
[battery]
|
||||||
|
command=~/.config/i3blocks/scripts/builder.sh battery
|
||||||
|
interval=30
|
||||||
|
|
||||||
[time]
|
[time]
|
||||||
command=~/.config/i3blocks/scripts/builder.sh time
|
command=~/.config/i3blocks/scripts/builder.sh time
|
||||||
interval=30
|
interval=30
|
||||||
|
|||||||
@ -81,7 +81,7 @@ cmd_pomodoro() {
|
|||||||
|
|
||||||
cmd_bluetooth_battery() {
|
cmd_bluetooth_battery() {
|
||||||
device="$(upower -e | grep headset | head -1)"
|
device="$(upower -e | grep headset | head -1)"
|
||||||
upower -i "${device}" | grep percentage | awk '{ print "🎧🔋"$2"" }'
|
upower -i "${device}" | grep percentage | awk '{ print "🎧"$2"" }'
|
||||||
}
|
}
|
||||||
|
|
||||||
cmd_language() {
|
cmd_language() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user