Further polybar customization
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
[module/bluetooth]
|
||||
type = custom/script
|
||||
exec = scripts/bluetooth.sh
|
||||
exec = ~/.config/polybar/scripts/bluetooth.sh
|
||||
interval = 5
|
||||
click-left = scripts/bluetooth.sh --toggle &
|
||||
click-left = ~/.config/polybar/scripts/bluetooth.sh --toggle &
|
||||
|
||||
format-background = ${colours/bluetooth.bg}
|
||||
format-foreground = ${colours/bluetooth.fg}
|
||||
|
||||
@@ -1,13 +0,0 @@
|
||||
[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}
|
||||
8
config/.config/polybar/bars/modules/spotify.ini
Normal file
8
config/.config/polybar/bars/modules/spotify.ini
Normal file
@@ -0,0 +1,8 @@
|
||||
[module/spotify]
|
||||
type = custom/script
|
||||
exec = ~/.config/polybar/scripts/spotify.sh
|
||||
interval = 5
|
||||
|
||||
format-background = ${colours/spotify.bg}
|
||||
format-foreground = ${colours/spotify.fg}
|
||||
format-padding = 1
|
||||
28
config/.config/polybar/bars/modules/wireless.ini
Normal file
28
config/.config/polybar/bars/modules/wireless.ini
Normal file
@@ -0,0 +1,28 @@
|
||||
[module/wireless]
|
||||
type = internal/network
|
||||
interface-type = wireless
|
||||
interval = 3.0
|
||||
|
||||
accumulate-stats = true
|
||||
;unknown-as-up = true
|
||||
|
||||
; The unit used for displaying network speeds
|
||||
; For example if set to the empty string, a speed of 5 KB/s is displayed as 5 K
|
||||
speed-unit = ''
|
||||
|
||||
format-connected = <label-connected>
|
||||
label-connected = %essid% (%local_ip%)
|
||||
label-connected-background = ${colours/wireless.connected-bg}
|
||||
label-connected-foreground = ${colours/wireless.connected-fg}
|
||||
label-connected-padding = 1
|
||||
|
||||
format-disconnected = <label-disconnected>
|
||||
label-disconnected = not connected
|
||||
label-disconnected-background = ${colours/wireless.disconnected-bg}
|
||||
label-disconnected-foreground = ${colours/wireless.disconnected-fg}
|
||||
label-disconnected-padding = 1
|
||||
|
||||
format-packetloss = <label-connected>*
|
||||
label-packetloss-background = ${colours/wireless.packetloss-bg}
|
||||
label-packetloss-foreground = ${colours/wireless.packetloss-fg}
|
||||
label-packetloss-padding = 1
|
||||
Reference in New Issue
Block a user