polybar: add temperature, add actions for middle and right click on volume
This commit is contained in:
@@ -16,6 +16,9 @@
|
|||||||
;
|
;
|
||||||
;==========================================================
|
;==========================================================
|
||||||
|
|
||||||
|
[common]
|
||||||
|
priv = false
|
||||||
|
|
||||||
[colors]
|
[colors]
|
||||||
background = #282A2E
|
background = #282A2E
|
||||||
background-alt = #373B41
|
background-alt = #373B41
|
||||||
@@ -52,7 +55,7 @@ separator-foreground = ${colors.disabled}
|
|||||||
font-0 = Fira Code Nerd Font:size=18;4
|
font-0 = Fira Code Nerd Font:size=18;4
|
||||||
|
|
||||||
modules-left = xworkspaces xwindow
|
modules-left = xworkspaces xwindow
|
||||||
modules-right = filesystem pulseaudio xkeyboard memory cpu wlan eth date
|
modules-right = filesystem pulseaudio xkeyboard memory cpu temperature wlan eth date
|
||||||
|
|
||||||
cursor-click = pointer
|
cursor-click = pointer
|
||||||
cursor-scroll = ns-resize
|
cursor-scroll = ns-resize
|
||||||
@@ -127,6 +130,9 @@ label-volume = %percentage%%
|
|||||||
label-muted = muted
|
label-muted = muted
|
||||||
label-muted-foreground = ${colors.disabled}
|
label-muted-foreground = ${colors.disabled}
|
||||||
|
|
||||||
|
click-middle = "polybar-msg action eth module_toggle; polybar-msg action wlan module_toggle"
|
||||||
|
click-right = pavucontrol
|
||||||
|
|
||||||
[module/xkeyboard]
|
[module/xkeyboard]
|
||||||
type = internal/xkeyboard
|
type = internal/xkeyboard
|
||||||
blacklist-0 = num lock
|
blacklist-0 = num lock
|
||||||
@@ -153,12 +159,16 @@ format-prefix = "CPU "
|
|||||||
format-prefix-foreground = ${colors.primary}
|
format-prefix-foreground = ${colors.primary}
|
||||||
label = %percentage:2%%
|
label = %percentage:2%%
|
||||||
|
|
||||||
|
[module/temperature]
|
||||||
|
type = internal/temperature
|
||||||
|
|
||||||
[network-base]
|
[network-base]
|
||||||
type = internal/network
|
type = internal/network
|
||||||
interval = 5
|
interval = 5
|
||||||
format-connected = <label-connected>
|
format-connected = <label-connected>
|
||||||
format-disconnected = <label-disconnected>
|
format-disconnected = <label-disconnected>
|
||||||
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
|
label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
|
||||||
|
hidden = ${common.priv}
|
||||||
|
|
||||||
[module/wlan]
|
[module/wlan]
|
||||||
inherit = network-base
|
inherit = network-base
|
||||||
|
|||||||
Reference in New Issue
Block a user