+modules for polybar
memory and music
This commit is contained in:
@@ -2,9 +2,9 @@
|
|||||||
width = 100%
|
width = 100%
|
||||||
height = 27
|
height = 27
|
||||||
modules-left = bspwm
|
modules-left = bspwm
|
||||||
modules-right = filesystem pulseaudio battery date
|
modules-right = filesystem memory pulseaudio mpd battery date
|
||||||
tray-position = right
|
tray-position = right
|
||||||
separator = " Δ "
|
separator = " Δ "
|
||||||
separator-padding = 2
|
separator-padding = 2
|
||||||
background = #CC000000
|
background = #CC000000
|
||||||
font-0 = IBM Plex Sans:size=12
|
font-0 = IBM Plex Sans:size=12
|
||||||
@@ -19,8 +19,8 @@ type = internal/bspwm
|
|||||||
format = <label-state> <label-mode>
|
format = <label-state> <label-mode>
|
||||||
label-monitor = %name%
|
label-monitor = %name%
|
||||||
enable-click = true
|
enable-click = true
|
||||||
pin-workspaces = true
|
pin-workspaces = false
|
||||||
label-focused-foreground = #91cbff
|
label-focused-foreground = #73989b
|
||||||
|
|
||||||
[module/pulseaudio]
|
[module/pulseaudio]
|
||||||
type = internal/pulseaudio
|
type = internal/pulseaudio
|
||||||
@@ -38,17 +38,27 @@ format-discharging = Battery ↓: <label-discharging>
|
|||||||
[module/date]
|
[module/date]
|
||||||
type = internal/date
|
type = internal/date
|
||||||
interval = 5
|
interval = 5
|
||||||
|
date = "%a %Y-%m-%d"
|
||||||
date = "%d/%m/%Y"
|
|
||||||
time = %H:%M
|
time = %H:%M
|
||||||
|
label = %date% %time%
|
||||||
label = %date% %time%
|
|
||||||
|
|
||||||
[module/filesystem]
|
[module/filesystem]
|
||||||
type = internal/fs
|
type = internal/fs
|
||||||
interval = 25
|
interval = 25
|
||||||
|
|
||||||
mount-0 = /
|
mount-0 = /
|
||||||
|
|
||||||
label-mounted = %{F#0a81f5}Meme level%{F-} @ %percentage_used%%
|
label-mounted = %{F#0a81f5}Meme level%{F-} @ %percentage_used%%
|
||||||
label-unmounted = %mountpoint% not mounted
|
label-unmounted = %mountpoint% not mounted
|
||||||
|
|
||||||
|
[module/mpd]
|
||||||
|
type = internal/mpd
|
||||||
|
format-offline = "MPD Offline"
|
||||||
|
format-online = <label-song>
|
||||||
|
format-playing = ${self.format-online}
|
||||||
|
format-paused = ${self.format-online}
|
||||||
|
format-stopped = ${self.format-online}
|
||||||
|
|
||||||
|
[module/memory]
|
||||||
|
type = internal/memory
|
||||||
|
label = %mb_used%
|
||||||
|
format = <label>
|
||||||
|
interval = 5
|
||||||
|
|||||||
Reference in New Issue
Block a user