2017-09-05 18:41:31 -05:00
|
|
|
#==================================================
|
|
|
|
#
|
|
|
|
# INFO: https://github.com/jaagr/polybar
|
|
|
|
#
|
|
|
|
#===================================================
|
|
|
|
|
|
|
|
#========================================
|
|
|
|
# RESOURCES
|
|
|
|
#========================================
|
2017-08-01 02:32:02 -05:00
|
|
|
[res/colors]
|
2017-09-04 04:31:39 -05:00
|
|
|
alert-dark = ${xrdb:color3}
|
|
|
|
alert = ${xrdb:color11}
|
|
|
|
alert-hard-dark = ${xrdb:color9}
|
|
|
|
alert-hard = ${xrdb:color1}
|
|
|
|
|
|
|
|
primary-dark = ${xrdb:color4}
|
|
|
|
primary = ${xrdb:color12}
|
|
|
|
|
2017-12-18 19:14:13 -06:00
|
|
|
resource-bad-dark = ${xrdb:color1}
|
|
|
|
resource-bad = ${xrdb:color9}
|
2017-09-04 04:31:39 -05:00
|
|
|
resource-good-dark = ${xrdb:color2}
|
|
|
|
resource-good = ${xrdb:color10}
|
2017-12-18 19:14:13 -06:00
|
|
|
resource-neutral-dark = ${xrdb:color5}
|
|
|
|
resource-neutral = ${xrdb:color13}
|
2017-09-04 04:31:39 -05:00
|
|
|
|
|
|
|
background = ${xrdb:background}
|
|
|
|
background-2 = ${xrdb:bg2}
|
|
|
|
background-3 = ${xrdb:bg3}
|
|
|
|
background-4 = ${xrdb:bg4}
|
2017-09-08 15:30:50 -05:00
|
|
|
foreground = ${xrdb:color15}
|
2017-09-04 04:31:39 -05:00
|
|
|
foreground-2 = ${xrdb:fg2}
|
|
|
|
foreground-3 = ${xrdb:fg3}
|
|
|
|
foreground-4 = ${xrdb:fg4}
|
2017-07-30 00:04:04 -05:00
|
|
|
|
2017-08-01 02:32:02 -05:00
|
|
|
[res/fonts]
|
2017-09-17 22:58:06 -05:00
|
|
|
font-0 = "xos4 Terminus:size=9;2"
|
2017-12-23 02:47:12 -06:00
|
|
|
font-1 = "Wuncon Siji:size=9;2"
|
2017-09-17 22:58:06 -05:00
|
|
|
font-2 = "FontAwesome:size=10;2"
|
2017-12-23 02:47:12 -06:00
|
|
|
font-3 = "Material Design Icons:size=11;3"
|
2017-08-01 02:55:38 -05:00
|
|
|
font-4 =
|
2017-07-30 17:24:27 -05:00
|
|
|
|
2017-09-05 18:41:31 -05:00
|
|
|
#========================================
|
|
|
|
# BARS
|
|
|
|
#========================================
|
2017-07-30 17:24:27 -05:00
|
|
|
|
2017-09-05 18:41:31 -05:00
|
|
|
# TEMPLATE
|
|
|
|
#====================
|
2017-07-30 17:24:27 -05:00
|
|
|
|
2017-08-01 02:32:02 -05:00
|
|
|
[template/bar]
|
2017-09-05 18:41:31 -05:00
|
|
|
# Rendering of the bar
|
2017-08-01 02:32:02 -05:00
|
|
|
width = 100%
|
2018-01-05 00:16:56 -06:00
|
|
|
height = 32
|
2017-07-30 17:24:27 -05:00
|
|
|
|
2017-09-05 18:41:31 -05:00
|
|
|
# Module padding and spacing
|
2017-08-01 02:32:02 -05:00
|
|
|
padding = 2
|
2017-08-02 01:36:48 -05:00
|
|
|
module-margin = 1
|
2017-07-30 17:24:27 -05:00
|
|
|
|
2018-01-05 00:16:56 -06:00
|
|
|
border-bottom-size = 0
|
2017-11-28 13:58:48 -06:00
|
|
|
border-color = ${res/colors.background-2}
|
|
|
|
|
|
|
|
overline-size = 4
|
2017-09-06 14:11:24 -05:00
|
|
|
underline-size = 0
|
2017-09-01 22:36:58 -05:00
|
|
|
line-color = ${res/colors.background-2}
|
|
|
|
|
2017-09-05 18:41:31 -05:00
|
|
|
# Module colors
|
2017-08-01 02:32:02 -05:00
|
|
|
background = ${res/colors.background}
|
|
|
|
foreground = ${res/colors.foreground}
|
2017-07-30 17:24:27 -05:00
|
|
|
|
2017-09-05 18:41:31 -05:00
|
|
|
# Module fonts
|
2017-08-01 02:32:02 -05:00
|
|
|
font-0 = ${res/fonts.font-0}
|
|
|
|
font-1 = ${res/fonts.font-1}
|
|
|
|
font-2 = ${res/fonts.font-2}
|
2017-08-01 02:55:38 -05:00
|
|
|
font-3 = ${res/fonts.font-3}
|
|
|
|
font-4 = ${res/fonts.font-4}
|
2017-07-30 17:24:27 -05:00
|
|
|
|
2017-09-05 18:41:31 -05:00
|
|
|
# BARS
|
|
|
|
#====================
|
2017-08-23 23:26:33 -05:00
|
|
|
[bar/alpha]
|
2017-08-01 02:32:02 -05:00
|
|
|
inherit = template/bar
|
|
|
|
tray-position = right
|
2017-07-30 17:24:27 -05:00
|
|
|
|
2018-01-16 22:17:12 -06:00
|
|
|
modules-left = i3 | cpu-label memory-label temperature-label update-arch | xwindow-label
|
2017-12-23 21:46:13 -06:00
|
|
|
modules-center =
|
2018-01-01 20:38:17 -06:00
|
|
|
modules-right = | xbacklight-label volume-ramp wlan-network eth-network battery-ramp | date
|
2017-07-30 17:24:27 -05:00
|
|
|
|
2017-09-06 19:20:51 -05:00
|
|
|
[bar/gamma]
|
|
|
|
inherit = template/bar
|
|
|
|
bottom = true
|
|
|
|
tray-position = right
|
|
|
|
|
2018-01-16 22:17:12 -06:00
|
|
|
modules-left = i3 |
|
2017-09-06 19:20:51 -05:00
|
|
|
modules-center = xwindow-label
|
2017-11-28 11:03:01 -06:00
|
|
|
modules-right = | mpd-mini temperature-label-alert wlan-network-mini volume-ramp-mini battery-ramp-mini | date-mini
|
2017-09-06 19:20:51 -05:00
|
|
|
|
2017-09-05 18:41:31 -05:00
|
|
|
#========================================
|
|
|
|
# MODULES
|
|
|
|
#========================================
|
2017-07-30 00:04:04 -05:00
|
|
|
|
2017-09-05 18:41:31 -05:00
|
|
|
# COSMETIC
|
|
|
|
#====================
|
2017-08-01 02:32:02 -05:00
|
|
|
[module/|]
|
2017-07-30 00:04:04 -05:00
|
|
|
type = custom/text
|
2018-01-05 00:16:56 -06:00
|
|
|
content =
|
|
|
|
content-foreground = ${res/colors.background-4}
|
2017-08-20 23:08:19 -05:00
|
|
|
|
2017-09-05 18:41:31 -05:00
|
|
|
# CUSTOM
|
|
|
|
#====================
|
2017-07-30 00:04:04 -05:00
|
|
|
|
2017-09-05 18:41:31 -05:00
|
|
|
# TEMPLATE
|
|
|
|
#====================
|
2017-09-15 02:04:12 -05:00
|
|
|
[template/module]
|
|
|
|
format-padding = 0
|
|
|
|
|
2017-08-20 23:08:19 -05:00
|
|
|
[template/module/battery]
|
2017-09-15 02:04:12 -05:00
|
|
|
inherit = template/module
|
2017-08-20 23:08:19 -05:00
|
|
|
type = internal/battery
|
|
|
|
battery = BAT0
|
|
|
|
adapter = AC
|
2017-12-23 02:47:12 -06:00
|
|
|
full-at = 98
|
2017-08-21 00:12:16 -05:00
|
|
|
interval = 15
|
2017-08-20 23:08:19 -05:00
|
|
|
|
|
|
|
[template/module/cpu]
|
2017-09-15 02:04:12 -05:00
|
|
|
inherit = template/module
|
2017-08-20 23:08:19 -05:00
|
|
|
type = internal/cpu
|
|
|
|
interval = 1
|
|
|
|
|
2017-08-02 01:36:48 -05:00
|
|
|
[template/module/network]
|
2017-09-15 02:04:12 -05:00
|
|
|
inherit = template/module
|
2017-08-02 01:36:48 -05:00
|
|
|
type = internal/network
|
|
|
|
interface = wlp1s0
|
|
|
|
format-connected = <label-connected>
|
2017-12-27 15:49:02 -06:00
|
|
|
format-connected-prefix-foreground = ${res/colors.primary-dark}
|
2017-08-02 01:36:48 -05:00
|
|
|
format-disconnected = <label-disconnected>
|
2017-09-06 00:40:58 -05:00
|
|
|
format-disconnected-prefix-foreground = ${res/colors.alert}
|
2017-08-02 01:36:48 -05:00
|
|
|
|
|
|
|
label-connected = %upspeed% %downspeed% - %signal%%
|
2017-12-23 02:47:12 -06:00
|
|
|
label-disconnected = ""
|
2017-08-02 01:36:48 -05:00
|
|
|
|
|
|
|
interval = 1
|
|
|
|
|
2017-08-20 23:08:19 -05:00
|
|
|
[template/module/temperature]
|
2017-09-15 02:04:12 -05:00
|
|
|
inherit = template/module
|
2017-08-20 23:08:19 -05:00
|
|
|
type = internal/temperature
|
|
|
|
thermal-zone = 0
|
2018-01-16 21:57:49 -06:00
|
|
|
warn-temperature = 250
|
2017-08-20 23:08:19 -05:00
|
|
|
|
2017-09-05 18:41:31 -05:00
|
|
|
# STOCK
|
|
|
|
#====================
|
2017-07-30 00:04:04 -05:00
|
|
|
[module/i3]
|
2017-09-15 02:04:12 -05:00
|
|
|
inherit = template/module
|
2017-07-30 00:04:04 -05:00
|
|
|
type = internal/i3
|
|
|
|
format = <label-state> <label-mode>
|
2018-01-05 00:27:11 -06:00
|
|
|
enable-scroll = false
|
2017-07-30 00:04:04 -05:00
|
|
|
index-sort = true
|
|
|
|
|
|
|
|
label-mode-padding = 2
|
2017-08-01 02:32:02 -05:00
|
|
|
label-mode-foreground = ${res/colors.background}
|
2017-08-20 18:12:22 -05:00
|
|
|
label-mode-background = ${res/colors.primary}
|
2017-07-30 00:04:04 -05:00
|
|
|
|
2017-09-05 18:41:31 -05:00
|
|
|
# Active workspace on focused monitor
|
2017-07-30 00:04:04 -05:00
|
|
|
label-focused = %name%
|
2017-08-24 01:25:29 -05:00
|
|
|
label-focused-padding = ${self.label-mode-padding}
|
2018-01-05 00:16:56 -06:00
|
|
|
label-focused-foreground = ${res/colors.primary-dark}
|
2017-07-30 00:04:04 -05:00
|
|
|
|
2017-09-05 18:41:31 -05:00
|
|
|
# Active workspace on unfocused monitor
|
2017-08-01 02:32:02 -05:00
|
|
|
label-visible = ${self.label-focused}
|
2017-07-30 00:04:04 -05:00
|
|
|
label-visible-padding = ${self.label-focused-padding}
|
2017-09-27 12:46:52 -05:00
|
|
|
label-visible-foreground = ${res/colors.background}
|
|
|
|
label-visible-background = ${res/colors.background-3}
|
2017-07-30 00:04:04 -05:00
|
|
|
|
2017-09-05 18:41:31 -05:00
|
|
|
# Inactive workspace
|
2017-08-01 02:32:02 -05:00
|
|
|
label-unfocused = ${self.label-focused}
|
|
|
|
label-unfocused-padding = ${self.label-focused-padding}
|
2017-07-30 17:24:27 -05:00
|
|
|
|
2017-09-05 18:41:31 -05:00
|
|
|
# Urgent workspace
|
2017-08-22 23:17:56 -05:00
|
|
|
label-urgent = ${self.label-focused}
|
|
|
|
label-urgent-padding = ${self.label-focused-padding}
|
2017-09-17 20:39:04 -05:00
|
|
|
label-urgent-foreground = ${self.label-focused-foreground}
|
|
|
|
label-urgent-background = ${res/colors.alert}
|
2017-08-22 23:17:56 -05:00
|
|
|
|
2017-08-20 23:08:19 -05:00
|
|
|
[module/battery-ramp]
|
|
|
|
inherit = template/module/battery
|
2017-12-23 02:47:12 -06:00
|
|
|
format-charging = <animation-charging> <label-charging>
|
2017-08-20 23:08:19 -05:00
|
|
|
format-discharging = <ramp-capacity> <label-discharging>
|
2017-12-23 02:47:12 -06:00
|
|
|
format-full = <ramp-capacity> <label-full>
|
2017-08-21 00:20:12 -05:00
|
|
|
time-format = %H:%M
|
2017-08-20 23:08:19 -05:00
|
|
|
|
2017-08-21 00:15:30 -05:00
|
|
|
label-charging = %percentage%%
|
2017-08-20 23:48:48 -05:00
|
|
|
label-charging-padding = 0
|
2017-08-21 00:20:12 -05:00
|
|
|
label-discharging = %percentage%% (%time%)
|
2017-08-20 23:48:48 -05:00
|
|
|
label-discharging-padding = 0
|
2017-09-05 18:20:09 -05:00
|
|
|
label-full = %percentage%%
|
2017-12-23 13:17:22 -06:00
|
|
|
label-full-foreground = ${res/colors.primary}
|
2017-08-20 23:48:48 -05:00
|
|
|
label-full-padding = 0
|
2017-08-20 23:08:19 -05:00
|
|
|
|
2017-12-23 02:47:12 -06:00
|
|
|
ramp-capacity-0=
|
|
|
|
ramp-capacity-1=
|
|
|
|
ramp-capacity-2=
|
|
|
|
ramp-capacity-3=
|
|
|
|
ramp-capacity-4=
|
|
|
|
ramp-capacity-5=
|
|
|
|
ramp-capacity-6=
|
|
|
|
ramp-capacity-7=
|
|
|
|
ramp-capacity-8=
|
2017-12-27 15:49:02 -06:00
|
|
|
ramp-capacity-foreground = ${res/colors.primary-dark}
|
2017-08-20 23:08:19 -05:00
|
|
|
|
2017-12-24 01:01:38 -06:00
|
|
|
animation-charging-0 = ${self.ramp-capacity-0}
|
|
|
|
animation-charging-1 = ${self.ramp-capacity-1}
|
|
|
|
animation-charging-2 = ${self.ramp-capacity-2}
|
|
|
|
animation-charging-3 = ${self.ramp-capacity-3}
|
|
|
|
animation-charging-4 = ${self.ramp-capacity-4}
|
|
|
|
animation-charging-5 = ${self.ramp-capacity-5}
|
|
|
|
animation-charging-6 = ${self.ramp-capacity-6}
|
|
|
|
animation-charging-7 = ${self.ramp-capacity-7}
|
|
|
|
animation-charging-8 = ${self.ramp-capacity-8}
|
|
|
|
animation-charging-foreground = ${self.ramp-capacity-foreground}
|
2017-12-23 02:47:12 -06:00
|
|
|
animation-charging-framerate = 500
|
|
|
|
|
2017-09-06 14:10:27 -05:00
|
|
|
[module/battery-ramp-mini]
|
|
|
|
inherit = template/module/battery
|
|
|
|
format-charging = <ramp-capacity>
|
2017-12-27 15:58:51 -06:00
|
|
|
format-charging-prefix =
|
2017-12-27 15:49:02 -06:00
|
|
|
format-charging-prefix-foreground = ${res/colors.resource-good-dark}
|
2017-09-06 14:10:27 -05:00
|
|
|
format-discharging = <ramp-capacity>
|
2017-09-06 22:03:30 -05:00
|
|
|
format-full = <ramp-capacity>
|
2017-09-06 14:10:27 -05:00
|
|
|
format-full-prefix = " "
|
|
|
|
format-full-prefix-foreground = ${res/colors.resource-good}
|
|
|
|
|
2017-12-23 02:47:12 -06:00
|
|
|
ramp-capacity-0=
|
|
|
|
ramp-capacity-1=
|
|
|
|
ramp-capacity-2=
|
|
|
|
ramp-capacity-3=
|
|
|
|
ramp-capacity-4=
|
|
|
|
ramp-capacity-5=
|
|
|
|
ramp-capacity-6=
|
|
|
|
ramp-capacity-7=
|
|
|
|
ramp-capacity-8=
|
2017-09-06 14:10:27 -05:00
|
|
|
|
2017-08-23 01:11:13 -05:00
|
|
|
[module/cpu-label]
|
|
|
|
inherit = template/module/cpu
|
|
|
|
format = <label>
|
2017-12-23 02:47:12 -06:00
|
|
|
format-prefix = " "
|
2017-12-27 15:49:02 -06:00
|
|
|
format-prefix-foreground = ${res/colors.resource-bad-dark}
|
2017-09-04 04:31:39 -05:00
|
|
|
label = %percentage%%
|
2017-08-23 01:11:13 -05:00
|
|
|
|
2017-07-30 00:04:04 -05:00
|
|
|
[module/date]
|
2017-09-15 02:04:12 -05:00
|
|
|
inherit = template/module
|
2017-07-30 00:04:04 -05:00
|
|
|
type = internal/date
|
|
|
|
|
2017-12-23 02:47:12 -06:00
|
|
|
format-prefix = " "
|
2017-12-27 15:49:02 -06:00
|
|
|
format-prefix-foreground = ${res/colors.primary-dark}
|
2017-09-04 00:40:43 -05:00
|
|
|
|
2017-07-30 19:49:39 -05:00
|
|
|
date = %a
|
|
|
|
time = %I:%M %p
|
2017-08-01 02:32:02 -05:00
|
|
|
date-alt = %A, %B %d
|
2017-07-30 19:49:39 -05:00
|
|
|
time-alt = %I:%M %p
|
2017-07-30 00:04:04 -05:00
|
|
|
|
|
|
|
label = %date% %time%
|
2017-09-01 22:54:22 -05:00
|
|
|
|
|
|
|
interval = 30
|
|
|
|
|
2017-09-06 19:20:51 -05:00
|
|
|
[module/date-mini]
|
2017-09-15 02:04:12 -05:00
|
|
|
inherit = template/module
|
2017-09-06 19:20:51 -05:00
|
|
|
type = internal/date
|
2017-09-04 00:40:43 -05:00
|
|
|
|
2017-09-06 19:20:51 -05:00
|
|
|
time = %I:%M %p
|
2017-09-06 23:54:05 -05:00
|
|
|
date-alt = "%A, %B %d "
|
2017-09-06 19:20:51 -05:00
|
|
|
time-alt = %I:%M %p
|
2017-09-01 22:54:22 -05:00
|
|
|
|
2017-09-06 23:54:05 -05:00
|
|
|
label= %date%%time%
|
2017-07-30 00:04:04 -05:00
|
|
|
|
2017-09-06 19:20:51 -05:00
|
|
|
interval = 60
|
2017-07-30 00:04:04 -05:00
|
|
|
|
2017-08-20 23:08:19 -05:00
|
|
|
[module/memory-label]
|
2017-09-15 02:04:12 -05:00
|
|
|
inherit = template/module
|
2017-08-20 23:08:19 -05:00
|
|
|
type = internal/memory
|
|
|
|
format = <label>
|
2017-12-23 02:47:12 -06:00
|
|
|
format-prefix = " "
|
2017-12-27 15:49:02 -06:00
|
|
|
format-prefix-foreground = ${res/colors.resource-bad-dark}
|
2017-08-20 23:08:19 -05:00
|
|
|
|
2017-09-04 04:31:39 -05:00
|
|
|
label = %percentage_used%% (%gb_used%)
|
2017-08-20 23:08:19 -05:00
|
|
|
|
2017-08-01 02:32:02 -05:00
|
|
|
[module/mpd]
|
2017-09-15 02:04:12 -05:00
|
|
|
inherit = template/module
|
2017-08-01 02:32:02 -05:00
|
|
|
type = internal/mpd
|
2017-08-23 23:06:52 -05:00
|
|
|
format-online = <label-song> <label-time>
|
2017-12-18 19:14:13 -06:00
|
|
|
format-playing = <label-song> <label-time>
|
2017-08-01 02:32:02 -05:00
|
|
|
|
2017-12-23 02:47:12 -06:00
|
|
|
icon-next =
|
|
|
|
icon-pause =
|
|
|
|
icon-play =
|
|
|
|
icon-prev =
|
|
|
|
icon-random =
|
|
|
|
icon-repeat =
|
|
|
|
icon-stop =
|
2017-08-23 23:06:52 -05:00
|
|
|
|
2017-08-23 23:14:59 -05:00
|
|
|
toggle-on-foreground = ${res/colors.foreground}
|
2017-08-24 17:26:18 -05:00
|
|
|
toggle-off-foreground = ${res/colors.background-4}
|
2017-08-23 23:14:59 -05:00
|
|
|
|
2017-08-01 02:32:02 -05:00
|
|
|
label-song = %title%
|
|
|
|
label-song-maxlen = 25
|
|
|
|
label-song-ellipsis = true
|
|
|
|
|
|
|
|
label-time = %elapsed%/%total%
|
|
|
|
|
|
|
|
interval = 1
|
2017-07-30 00:04:04 -05:00
|
|
|
|
2017-08-23 23:14:59 -05:00
|
|
|
[module/mpd-control]
|
|
|
|
inherit = module/mpd
|
|
|
|
format-online = <icon-prev> <toggle> <icon-stop> <icon-next>
|
2017-12-18 19:14:13 -06:00
|
|
|
format-playing = ${self.format-online}
|
|
|
|
format-stopped = ${self.format-online}
|
|
|
|
format-offline = ${self.format-online}
|
2017-08-23 23:14:59 -05:00
|
|
|
|
|
|
|
[module/mpd-control-ext]
|
|
|
|
inherit = module/mpd
|
|
|
|
format-online = <icon-random> <icon-repeat>
|
2017-12-18 19:14:13 -06:00
|
|
|
format-playing = ${self.format-online}
|
|
|
|
format-stopped = ${self.format-online}
|
|
|
|
format-offline = ${self.format-online}
|
|
|
|
|
|
|
|
[module/mpd-label]
|
|
|
|
inherit = module/mpd
|
|
|
|
format-online = <label-song> <label-time>
|
|
|
|
format-playing = ${self.format-online}
|
|
|
|
format-stopped =
|
|
|
|
format-offline =
|
|
|
|
|
|
|
|
[module/mpd-mini]
|
|
|
|
inherit = module/mpd
|
2017-12-23 02:47:12 -06:00
|
|
|
format-online =
|
2017-12-18 19:15:31 -06:00
|
|
|
format-online-foreground = ${res/colors.background-4}
|
2017-12-23 02:47:12 -06:00
|
|
|
format-playing =
|
|
|
|
format-stopped =
|
|
|
|
format-offline =
|
2017-12-18 19:14:13 -06:00
|
|
|
format-online-prefix = " "
|
|
|
|
label-song = %title%
|
2017-08-23 23:14:59 -05:00
|
|
|
|
2017-09-05 18:30:50 -05:00
|
|
|
[module/temperature-label]
|
2017-09-01 16:13:10 -05:00
|
|
|
inherit = template/module/temperature
|
2017-08-20 23:08:19 -05:00
|
|
|
|
2017-09-05 18:30:50 -05:00
|
|
|
format = <label>
|
2017-12-23 02:47:12 -06:00
|
|
|
format-prefix = " "
|
2017-12-27 15:49:02 -06:00
|
|
|
format-prefix-foreground = ${res/colors.resource-bad-dark}
|
2017-09-04 04:31:39 -05:00
|
|
|
format-warning = <label>
|
2017-09-01 22:36:58 -05:00
|
|
|
format-warning-overline = ${res/colors.alert}
|
2017-12-23 02:47:12 -06:00
|
|
|
format-warning-prefix = " "
|
2017-09-04 04:31:39 -05:00
|
|
|
format-warning-prefix-foreground = ${res/colors.alert}
|
2017-08-20 23:53:00 -05:00
|
|
|
|
|
|
|
label = %temperature%
|
2017-09-05 18:20:09 -05:00
|
|
|
label-warn = %temperature%
|
2017-08-20 23:08:19 -05:00
|
|
|
|
2017-09-07 15:36:16 -05:00
|
|
|
[module/temperature-label-alert]
|
|
|
|
inherit = template/module/temperature
|
|
|
|
|
|
|
|
format-warning = <label>
|
|
|
|
format-warning-foreground = ${res/colors.alert}
|
|
|
|
|
|
|
|
label =
|
|
|
|
|
2017-12-23 02:47:12 -06:00
|
|
|
label-warn = %temperature%
|
2017-09-07 15:36:16 -05:00
|
|
|
label-warn-foreground = ${res/colors.alert}
|
|
|
|
|
2018-01-01 20:35:57 -06:00
|
|
|
[module/update-arch]
|
|
|
|
inherit = template/module
|
|
|
|
type = custom/script
|
2018-01-01 20:39:34 -06:00
|
|
|
exec = echo `checkupdates | wc -l`
|
2018-01-01 20:38:17 -06:00
|
|
|
exec-if = wget -q --spider http://www.startpage.com/ && uname -r | grep -q "ARCH" && [ `checkupdates | wc -l` != 0 ]
|
2018-01-01 20:35:57 -06:00
|
|
|
format-prefix = " "
|
2018-01-01 20:38:17 -06:00
|
|
|
format-prefix-foreground = ${res/colors.alert-dark}
|
2018-01-01 20:42:33 -06:00
|
|
|
interval = 60
|
2018-01-01 20:35:57 -06:00
|
|
|
|
2017-08-20 23:08:19 -05:00
|
|
|
[module/volume-ramp]
|
2017-09-15 02:04:12 -05:00
|
|
|
inherit = template/module
|
2017-08-20 23:08:19 -05:00
|
|
|
type = internal/volume
|
2017-08-20 23:48:48 -05:00
|
|
|
format-volume = <ramp-volume> <label-volume>
|
2017-09-01 22:54:22 -05:00
|
|
|
format-muted = <ramp-volume> <label-muted>
|
2017-08-20 23:08:19 -05:00
|
|
|
|
|
|
|
label-volume = %percentage%%
|
2017-09-01 22:54:22 -05:00
|
|
|
label-muted = %percentage%%
|
2017-12-16 23:26:16 -06:00
|
|
|
label-muted-foreground = ${res/colors.background-4}
|
2017-08-20 23:08:19 -05:00
|
|
|
|
2017-12-23 02:47:12 -06:00
|
|
|
ramp-volume-0 =
|
|
|
|
ramp-volume-1 =
|
2017-12-27 15:49:02 -06:00
|
|
|
ramp-volume-foreground = ${res/colors.primary-dark}
|
2017-08-20 23:08:19 -05:00
|
|
|
|
2017-09-06 14:10:27 -05:00
|
|
|
[module/volume-ramp-mini]
|
2017-09-15 02:04:12 -05:00
|
|
|
inherit = template/module
|
2017-09-06 14:10:27 -05:00
|
|
|
type = internal/volume
|
|
|
|
format-volume = <ramp-volume>
|
|
|
|
format-muted = <ramp-volume>
|
|
|
|
format-muted-foreground = ${res/colors.background-4}
|
|
|
|
|
2017-12-23 02:47:12 -06:00
|
|
|
ramp-volume-0 =
|
|
|
|
ramp-volume-1 =
|
2017-09-06 14:10:27 -05:00
|
|
|
|
2017-09-13 00:22:41 -05:00
|
|
|
[module/weather-mini]
|
2017-09-15 02:04:12 -05:00
|
|
|
inherit = template/module
|
2017-09-13 00:22:41 -05:00
|
|
|
type = custom/script
|
|
|
|
exec = $HOME/.config/polybar/weather.sh
|
2017-09-13 13:19:14 -05:00
|
|
|
exec-if = wget -q --spider http://www.startpage.com/
|
2017-09-13 00:22:41 -05:00
|
|
|
interval = 60
|
|
|
|
|
2017-08-29 01:06:29 -05:00
|
|
|
[module/wlan-network]
|
2017-08-02 01:36:48 -05:00
|
|
|
inherit = template/module/network
|
2017-12-23 02:47:12 -06:00
|
|
|
format-connected = <ramp-signal> <label-connected>
|
2017-12-27 15:49:02 -06:00
|
|
|
label-connected = %essid%
|
2017-12-23 02:47:12 -06:00
|
|
|
label-disconnected =
|
|
|
|
|
2017-12-27 15:49:02 -06:00
|
|
|
ramp-signal-0 =
|
|
|
|
ramp-signal-1 =
|
|
|
|
ramp-signal-2 =
|
|
|
|
ramp-signal-3 =
|
|
|
|
ramp-signal-4 =
|
2017-12-23 02:47:12 -06:00
|
|
|
ramp-signal-foreground = ${res/colors.primary-dark}
|
2017-08-24 17:06:06 -05:00
|
|
|
|
2017-09-06 19:20:51 -05:00
|
|
|
[module/wlan-network-mini]
|
|
|
|
inherit = template/module/network
|
2017-12-27 15:58:51 -06:00
|
|
|
format-connected = <ramp-signal>
|
2017-09-06 19:20:51 -05:00
|
|
|
format-connected-prefix =
|
2017-09-12 23:49:26 -05:00
|
|
|
format-disconnected-prefix =
|
2017-12-01 11:04:53 -06:00
|
|
|
format-disconnected-foreground = ${res/colors.background-4}
|
2017-12-27 15:58:51 -06:00
|
|
|
label-disconnected =
|
|
|
|
|
|
|
|
ramp-signal-0 =
|
|
|
|
ramp-signal-1 =
|
|
|
|
ramp-signal-2 =
|
|
|
|
ramp-signal-3 =
|
|
|
|
ramp-signal-4 =
|
2017-09-06 19:20:51 -05:00
|
|
|
|
2017-08-29 01:06:29 -05:00
|
|
|
[module/wlan-speed]
|
|
|
|
inherit = template/module/network
|
2017-12-23 02:47:12 -06:00
|
|
|
label-connected = %upspeed% %downspeed%
|
2017-08-29 01:06:29 -05:00
|
|
|
|
2017-09-01 16:13:10 -05:00
|
|
|
[module/eth-network]
|
2017-08-29 01:06:29 -05:00
|
|
|
inherit = module/wlan-network
|
2017-09-15 02:04:12 -05:00
|
|
|
type = internal/network
|
2017-08-24 17:06:06 -05:00
|
|
|
interface = enp0s31f6
|
2017-12-23 02:47:12 -06:00
|
|
|
label-connected = %upspeed% %downspeed%
|
2017-08-24 17:06:06 -05:00
|
|
|
label-connected-foreground = ${res/colors.primary-dark}
|
|
|
|
label-disconnected =
|
2017-08-01 02:32:02 -05:00
|
|
|
|
2017-12-27 17:26:01 -06:00
|
|
|
[module/tether-network]
|
|
|
|
inherit = module/wlan-network
|
|
|
|
type = internal/network
|
|
|
|
unknown-as-up = true
|
|
|
|
interface = enp0s20f0u2
|
|
|
|
format-connected-prefix = " "
|
|
|
|
label-connected = Tethered
|
|
|
|
label-disconnected =
|
|
|
|
|
2017-12-27 15:49:02 -06:00
|
|
|
[module/xbacklight-label]
|
|
|
|
inherit = template/module
|
|
|
|
type = internal/xbacklight
|
|
|
|
format = <label>
|
|
|
|
format-prefix = " "
|
|
|
|
format-prefix-foreground = ${res/colors.primary-dark}
|
|
|
|
|
2017-09-05 18:37:35 -05:00
|
|
|
[module/xbacklight-ramp]
|
2017-09-15 02:04:12 -05:00
|
|
|
inherit = template/module
|
2017-08-24 16:51:43 -05:00
|
|
|
type = internal/xbacklight
|
2017-09-05 18:37:35 -05:00
|
|
|
format = <ramp> <label>
|
2017-08-24 16:51:43 -05:00
|
|
|
|
2017-09-04 04:31:39 -05:00
|
|
|
label = %percentage%%
|
2017-08-24 16:51:43 -05:00
|
|
|
|
2017-09-05 18:37:35 -05:00
|
|
|
ramp-0 =
|
|
|
|
ramp-1 =
|
|
|
|
ramp-2 =
|
|
|
|
ramp-3 =
|
|
|
|
ramp-4 =
|
|
|
|
ramp-5 =
|
|
|
|
ramp-6 =
|
|
|
|
ramp-foreground = ${self.format-underline}
|
|
|
|
|
2017-09-06 14:10:27 -05:00
|
|
|
[module/xbacklight-ramp-mini]
|
2017-09-15 02:04:12 -05:00
|
|
|
inherit = template/module
|
2017-09-06 14:10:27 -05:00
|
|
|
type = internal/xbacklight
|
|
|
|
format = <ramp>
|
|
|
|
|
|
|
|
ramp-0 =
|
|
|
|
ramp-1 =
|
|
|
|
ramp-2 =
|
|
|
|
ramp-3 =
|
|
|
|
ramp-4 =
|
|
|
|
ramp-5 =
|
|
|
|
ramp-6 =
|
|
|
|
|
2017-09-01 16:13:10 -05:00
|
|
|
[module/xkeyboard-label]
|
2017-09-15 02:04:12 -05:00
|
|
|
inherit = template/module
|
2017-08-04 21:29:16 -05:00
|
|
|
type = internal/xkeyboard
|
2017-09-01 16:13:10 -05:00
|
|
|
format = <label-indicator>
|
2017-08-04 21:29:16 -05:00
|
|
|
|
|
|
|
label-indicator = %name%
|
2017-12-27 15:49:02 -06:00
|
|
|
label-indicator-overline = ${res/colors.primary-dark}
|
2017-08-04 21:29:16 -05:00
|
|
|
|
2017-09-01 16:13:10 -05:00
|
|
|
[module/xwindow-label]
|
2017-09-15 02:04:12 -05:00
|
|
|
inherit = template/module
|
2017-08-01 02:32:02 -05:00
|
|
|
type = internal/xwindow
|
|
|
|
label = %title%
|
|
|
|
label-maxlen = 75
|
|
|
|
label-ellipsis = true
|
2017-08-01 02:55:38 -05:00
|
|
|
|
2017-09-05 18:41:31 -05:00
|
|
|
# vim:ft=dosini
|