CRUTCH
This commit is contained in:
parent
6b68e24be3
commit
cc6b8ac1f5
@ -132,7 +132,7 @@ font-2 = SymbolsNerdFont:size=10;2
|
|||||||
|
|
||||||
|
|
||||||
modules-left = i3
|
modules-left = i3
|
||||||
modules-right = mpd mpdvol weather updates uptime
|
modules-right = mpd mpdvol mpdvolupd weather updates uptime
|
||||||
|
|
||||||
cursor-click = pointer
|
cursor-click = pointer
|
||||||
cursor-scroll = ns-resize
|
cursor-scroll = ns-resize
|
||||||
@ -204,7 +204,6 @@ interval = 60
|
|||||||
|
|
||||||
[module/mpdvol]
|
[module/mpdvol]
|
||||||
type = custom/ipc
|
type = custom/ipc
|
||||||
interval = 10
|
|
||||||
initial = 1
|
initial = 1
|
||||||
|
|
||||||
hook-0 = echo $(mpc --host=192.168.0.186 status %volume%)
|
hook-0 = echo $(mpc --host=192.168.0.186 status %volume%)
|
||||||
@ -214,6 +213,13 @@ hook-3 = mpc --host=192.168.0.186 toggleoutput 1 > /dev/null
|
|||||||
hook-4 = mpc --host=192.168.0.186 volume +5 > /dev/null
|
hook-4 = mpc --host=192.168.0.186 volume +5 > /dev/null
|
||||||
hook-5 = mpc --host=192.168.0.186 volume -5 > /dev/null
|
hook-5 = mpc --host=192.168.0.186 volume -5 > /dev/null
|
||||||
|
|
||||||
|
## WHAT THE FUCKING CRUTCH ##
|
||||||
|
[module/mpdvolupd]
|
||||||
|
type = custom/script
|
||||||
|
exec = polybar-msg action "#mpdvol.hook.0" > /dev/null
|
||||||
|
interval = 5
|
||||||
|
## WHAT THE FUCKING CRUTCH ##
|
||||||
|
|
||||||
[module/ddcci]
|
[module/ddcci]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
exec = echo `ddcutil getvcp 10` | sed 's/VCP code 0x10 (Brightness ): current value = //'| sed 's/, max value = 100//'
|
exec = echo `ddcutil getvcp 10` | sed 's/VCP code 0x10 (Brightness ): current value = //'| sed 's/, max value = 100//'
|
||||||
@ -475,7 +481,7 @@ interval = 3
|
|||||||
|
|
||||||
[module/wireguard]
|
[module/wireguard]
|
||||||
type = internal/network
|
type = internal/network
|
||||||
interface = wg
|
interface = wg0
|
||||||
interface-type = wired
|
interface-type = wired
|
||||||
interval = 3.0
|
interval = 3.0
|
||||||
#ping-interval = 5
|
#ping-interval = 5
|
||||||
|
Loading…
Reference in New Issue
Block a user