Polybar: Add Dropbox module
This commit is contained in:
parent
7915b080ef
commit
2dc968e6ce
@ -16,6 +16,7 @@ warning = ${xrdb:color1}
|
|||||||
icon-battery = ${res/colors.primary}
|
icon-battery = ${res/colors.primary}
|
||||||
icon-cpu = ${xrdb:color12}
|
icon-cpu = ${xrdb:color12}
|
||||||
icon-date = ${res/colors.primary}
|
icon-date = ${res/colors.primary}
|
||||||
|
icon-dropbox = ${res/colors.primary}
|
||||||
icon-fs = ${xrdb:color10}
|
icon-fs = ${xrdb:color10}
|
||||||
icon-memory = ${xrdb:color13}
|
icon-memory = ${xrdb:color13}
|
||||||
icon-volume = ${res/colors.primary}
|
icon-volume = ${res/colors.primary}
|
||||||
@ -99,7 +100,7 @@ border-top-size = 0
|
|||||||
|
|
||||||
modules-left = bspwm
|
modules-left = bspwm
|
||||||
modules-center = xwindow
|
modules-center = xwindow
|
||||||
modules-right = fs-home | wlan
|
modules-right = dropbox fs-home | wlan
|
||||||
|
|
||||||
[bar/secondary]
|
[bar/secondary]
|
||||||
monitor = ${env:PB_MONITOR}
|
monitor = ${env:PB_MONITOR}
|
||||||
@ -212,6 +213,15 @@ interval = 30
|
|||||||
|
|
||||||
label = %date% %time%
|
label = %date% %time%
|
||||||
|
|
||||||
|
[module/dropbox]
|
||||||
|
type = custom/script
|
||||||
|
format-prefix = "Dropbox: "
|
||||||
|
format-prefix-foreground = ${res/colors.icon-dropbox}
|
||||||
|
interval = 15
|
||||||
|
|
||||||
|
exec = dropbox status
|
||||||
|
exec-if = which dropbox
|
||||||
|
|
||||||
[module/fs-home]
|
[module/fs-home]
|
||||||
type = internal/fs
|
type = internal/fs
|
||||||
format-mounted = <bar-used> <label-mounted>
|
format-mounted = <bar-used> <label-mounted>
|
||||||
|
Loading…
Reference in New Issue
Block a user