Modified polybar
This commit is contained in:
31
config/.config/polybar/bars/modules/battery.ini
Normal file
31
config/.config/polybar/bars/modules/battery.ini
Normal file
@@ -0,0 +1,31 @@
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
full-at = 100
|
||||
low-at = 20
|
||||
battery = BAT0
|
||||
adapter = ADP0
|
||||
poll-interval = 5
|
||||
|
||||
format-full = <label-full>
|
||||
label-full = "%{T2}%{T-} %percentage%%"
|
||||
label-full-background = ${colours/battery.full-bg}
|
||||
label-full-foreground = ${colours/battery.full-fg}
|
||||
label-full-padding = 1
|
||||
|
||||
format-charging = <label-charging>
|
||||
label-charging = "%{T2}%{T-} %percentage%%"
|
||||
label-charging-background = ${colours/battery.charging-bg}
|
||||
label-charging-foreground = ${colours/battery.charging-fg}
|
||||
label-charging-padding = 1
|
||||
|
||||
format-discharging = <label-discharging>
|
||||
label-discharging = "%{T2}%{T-} %percentage%%"
|
||||
label-discharging-background = ${colours/battery.discharging-bg}
|
||||
label-discharging-foreground = ${colours/battery.discharging-fg}
|
||||
label-discharging-padding = 1
|
||||
|
||||
format-low = <label-low>
|
||||
label-low = "%{T2}%{T-} %percentage%%"
|
||||
label-low-background = ${colours/battery.low-bg}
|
||||
label-low-foreground = ${colours/battery.low-fg}
|
||||
label-low-padding = 1
|
||||
13
config/.config/polybar/bars/modules/date.ini
Normal file
13
config/.config/polybar/bars/modules/date.ini
Normal file
@@ -0,0 +1,13 @@
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 1.0
|
||||
date = %A, %d %B %Y
|
||||
time = %H:%M:%S
|
||||
label = %date% · %time%
|
||||
|
||||
format = <label>
|
||||
format-padding = 0
|
||||
|
||||
label-background = ${colours/date.bg}
|
||||
label-foreground = ${colours/date.fg}
|
||||
label-padding = 1
|
||||
7
config/.config/polybar/bars/modules/i3-mode.ini
Normal file
7
config/.config/polybar/bars/modules/i3-mode.ini
Normal file
@@ -0,0 +1,7 @@
|
||||
[module/i3-mode]
|
||||
type = internal/i3
|
||||
format = <label-mode>
|
||||
|
||||
label-mode-background = ${colours/i3-mode.bg}
|
||||
label-mode-foreground = ${colours/i3-mode.fg}
|
||||
label-mode-padding = 2
|
||||
13
config/.config/polybar/bars/modules/padding.ini
Normal file
13
config/.config/polybar/bars/modules/padding.ini
Normal file
@@ -0,0 +1,13 @@
|
||||
[module/padding]
|
||||
type = custom/text
|
||||
content = ||
|
||||
content-padding = 1
|
||||
content-foreground = ${colours.trans}
|
||||
content-background = ${colours.trans}
|
||||
|
||||
[module/paddinglite]
|
||||
type = custom/text
|
||||
content = |
|
||||
content-padding = .5
|
||||
content-foreground = ${colours.trans}
|
||||
content-background = ${colours.trans}
|
||||
15
config/.config/polybar/bars/modules/volume.ini
Normal file
15
config/.config/polybar/bars/modules/volume.ini
Normal file
@@ -0,0 +1,15 @@
|
||||
[module/volume]
|
||||
type = internal/pulseaudio
|
||||
interval = 5
|
||||
|
||||
format-volume = <label-volume>
|
||||
label-volume = %{T2}墳%{T-} %percentage%%
|
||||
label-volume-padding = 1
|
||||
label-volume-foreground = ${colours/volume.volume-fg}
|
||||
label-volume-background = ${colours/volume.volume-bg}
|
||||
|
||||
format-muted = <label-muted>
|
||||
label-muted = %{T2}ﱝ%{T-} muted
|
||||
label-muted-padding = 1
|
||||
label-muted-foreground = ${colours/volume.muted-fg}
|
||||
label-muted-background = ${colours/volume.muted-bg}
|
||||
22
config/.config/polybar/bars/modules/workspaces.ini
Normal file
22
config/.config/polybar/bars/modules/workspaces.ini
Normal file
@@ -0,0 +1,22 @@
|
||||
[module/workspaces]
|
||||
type = internal/i3
|
||||
format = <label-state>
|
||||
index-sort = true
|
||||
wrapping-scroll = false
|
||||
strip-wsnumbers = true
|
||||
pin-workspaces = true
|
||||
|
||||
label-focused = %index%
|
||||
label-focused-background = ${colours/workspaces.focused-bg}
|
||||
label-focused-foreground = ${colours/workspaces.focused-fg}
|
||||
label-focused-padding = 2
|
||||
|
||||
label-unfocused = %index%
|
||||
label-unfocused-background = ${colours/workspaces.unfocused-bg}
|
||||
label-unfocused-foreground = ${colours/workspaces.unfocused-fg}
|
||||
label-unfocused-padding = 2
|
||||
|
||||
label-urgent = %index%
|
||||
label-urgent-background = ${colours/workspaces.urgent-bg}
|
||||
label-urgent-foreground = ${colours/workspaces.urgent-fg}
|
||||
label-urgent-padding = 2
|
||||
Reference in New Issue
Block a user