2018-12-11 11:02:29 +00:00
|
|
|
[colors]
|
2019-01-12 09:03:53 +00:00
|
|
|
#background = #2d2d2d
|
2019-02-10 16:23:56 +00:00
|
|
|
background = rgba(0,0,0,0)
|
2019-01-12 09:03:53 +00:00
|
|
|
#foreground = #f2f2f2
|
|
|
|
#separator = #66ffffff
|
|
|
|
#linecolor = #8e8e8e
|
|
|
|
#bordercolor = #333
|
|
|
|
#accent = #e60053
|
|
|
|
|
2019-02-10 16:23:56 +00:00
|
|
|
#background = ${xrdb:color0:#222}
|
2019-01-12 09:03:53 +00:00
|
|
|
foreground = ${xrdb:color7:#222}
|
|
|
|
foreground-alt = ${xrdb:color7:#222}
|
|
|
|
primary = ${xrdb:color1:#222}
|
|
|
|
secondary = ${xrdb:color2:#222}
|
|
|
|
alert = ${xrdb:color3:#222}
|
2018-12-11 11:02:29 +00:00
|
|
|
|
|
|
|
[settings]
|
|
|
|
screenchange-reload = true
|
|
|
|
;throttle-output-for = 10
|
|
|
|
;throttle-output = 5
|
|
|
|
;throttle-input-for = 40
|
|
|
|
|
|
|
|
;compositing-background = over
|
|
|
|
;compositing-background = screen
|
|
|
|
;compositing-foreground = xor
|
|
|
|
;compositing-foreground = source
|
|
|
|
;compositing-border = over
|
|
|
|
|
|
|
|
[global/wm]
|
2019-02-10 16:23:56 +00:00
|
|
|
;margin-top = 3
|
2019-01-12 09:03:53 +00:00
|
|
|
;margin-bottom = 0
|
2018-12-11 11:02:29 +00:00
|
|
|
|
|
|
|
[bar/top]
|
2019-03-08 14:43:51 +00:00
|
|
|
monitor = ${env:MONITOR:}
|
2019-01-12 09:03:53 +00:00
|
|
|
height = 26
|
|
|
|
radius = 7.0
|
2018-12-11 11:02:29 +00:00
|
|
|
;fixed-center = false
|
|
|
|
;override-redirect = true
|
2019-01-12 09:03:53 +00:00
|
|
|
|
|
|
|
padding = 2
|
|
|
|
module-margin = 2
|
|
|
|
line-size = 2
|
2018-12-11 11:02:29 +00:00
|
|
|
|
|
|
|
background = ${colors.background}
|
|
|
|
foreground = ${colors.foreground}
|
|
|
|
|
2019-02-10 16:23:56 +00:00
|
|
|
line-color = ${colors.background}
|
|
|
|
underline-size = 4
|
2019-01-12 09:03:53 +00:00
|
|
|
;overline-size = 2
|
2018-12-11 11:02:29 +00:00
|
|
|
|
2019-02-10 16:23:56 +00:00
|
|
|
;border-size = 6
|
2018-12-11 11:02:29 +00:00
|
|
|
;border-color = 0
|
2019-02-10 16:23:56 +00:00
|
|
|
border-top-size = 4
|
2019-01-12 09:03:53 +00:00
|
|
|
;border-bottom-size = 2
|
2018-12-11 11:02:29 +00:00
|
|
|
;border-bottom-color = ${colors.bordercolor}
|
|
|
|
|
2019-01-12 09:03:53 +00:00
|
|
|
;padding-left = 0
|
|
|
|
;padding-right = 2
|
|
|
|
;module-margin-left = 1
|
|
|
|
;module-margin-right = 2
|
2018-12-11 11:02:29 +00:00
|
|
|
|
2019-02-10 16:23:56 +00:00
|
|
|
font-0 = dina:pixelsize=12;1
|
2018-12-11 11:02:29 +00:00
|
|
|
font-1 = siji:pixelsize=10;1
|
|
|
|
font-2 = unifont:size=6;1
|
|
|
|
|
|
|
|
modules-left = i3
|
|
|
|
;modules-center = mpd
|
2019-01-12 09:03:53 +00:00
|
|
|
modules-center = xwindow
|
|
|
|
modules-right = wifi public-ip vpn battery powermenu date
|
2018-12-11 11:02:29 +00:00
|
|
|
|
2019-01-12 09:03:53 +00:00
|
|
|
;tray-position = left
|
2018-12-20 21:06:19 +00:00
|
|
|
;tray-padding = 4
|
|
|
|
;tray-maxsize = 16
|
2018-12-11 11:02:29 +00:00
|
|
|
;tray-transparent = true
|
|
|
|
;tray-detached = true
|
|
|
|
;tray-offset-x = 50
|
|
|
|
|
|
|
|
wm-restack = i3
|
|
|
|
|
2019-01-12 09:03:53 +00:00
|
|
|
dim-value = 1.0
|
2018-12-11 11:02:29 +00:00
|
|
|
|
|
|
|
scroll-up = i3wm-wsnext
|
|
|
|
scroll-down = i3wm-wsprev
|
|
|
|
|
|
|
|
[module/public-ip]
|
|
|
|
type = custom/script
|
|
|
|
exec = wget -qO - icanhazip.com
|
2019-02-10 11:29:26 +00:00
|
|
|
interval = 600
|
2018-12-11 11:02:29 +00:00
|
|
|
label = %output%
|
2019-01-12 09:03:53 +00:00
|
|
|
|
2019-02-10 16:23:56 +00:00
|
|
|
format-underline = ${xrdb:color5}
|
2019-02-10 13:19:07 +00:00
|
|
|
format-foreground = #ffffff
|
2019-01-12 09:03:53 +00:00
|
|
|
format-padding = 2
|
2018-12-11 11:02:29 +00:00
|
|
|
|
|
|
|
[module/i3]
|
|
|
|
type = internal/i3
|
|
|
|
index-sort = true
|
|
|
|
pin-workspaces = true
|
|
|
|
wrapping-scroll = true
|
|
|
|
strip-wsnumbers = true
|
|
|
|
;reverse-scroll = false
|
|
|
|
;enable-scroll = false
|
|
|
|
enable-click = true
|
|
|
|
|
|
|
|
;format = <label-state> <label-mode>
|
|
|
|
|
|
|
|
label-mode = %mode%
|
|
|
|
label-mode-padding = 2
|
2019-01-12 09:03:53 +00:00
|
|
|
label-mode-background = ${colors.primary}
|
2018-12-11 11:02:29 +00:00
|
|
|
|
|
|
|
;label-focused = %index%
|
2019-02-10 16:23:56 +00:00
|
|
|
label-focused-foreground = #000000
|
|
|
|
label-focused-background = ${xrdb:color5}
|
2019-01-12 09:03:53 +00:00
|
|
|
label-focused-underline = ${colors.secondary}
|
2018-12-11 11:02:29 +00:00
|
|
|
label-focused-padding = 4
|
|
|
|
|
|
|
|
;label-unfocused = %index%
|
|
|
|
label-unfocused-padding = 4
|
|
|
|
|
|
|
|
;label-urgent = %index%!
|
2019-01-12 09:03:53 +00:00
|
|
|
label-urgent-foreground = ${colors.alert}
|
2018-12-11 11:02:29 +00:00
|
|
|
label-urgent-background = #bd2c40
|
|
|
|
label-urgent-padding = 4
|
|
|
|
|
|
|
|
;label-visible = %index%
|
|
|
|
|
|
|
|
[module/wifi]
|
|
|
|
type = internal/network
|
|
|
|
interface = wlp3s0
|
|
|
|
interval = 5
|
|
|
|
;udspeed-minwidth = 0
|
|
|
|
|
|
|
|
format-connected = <label-connected>
|
2019-02-10 16:23:56 +00:00
|
|
|
format-connected-underline = ${xrdb:color6:#222}
|
2019-02-10 13:19:07 +00:00
|
|
|
format-connected-foreground = #ffffff
|
2019-02-10 16:23:56 +00:00
|
|
|
format-disconnected-underline = ${xrdb:color6:#222}
|
2019-02-10 13:19:07 +00:00
|
|
|
format-disconnected-foreground = #ffffff
|
2019-01-12 09:03:53 +00:00
|
|
|
format-connected-padding = 2
|
|
|
|
format-disconnected-padding = 2
|
2018-12-11 11:02:29 +00:00
|
|
|
|
|
|
|
; Available tags:
|
|
|
|
; <label-disconnected> (default)
|
|
|
|
format-disconnected = <label-disconnected>
|
|
|
|
|
|
|
|
; Available tags:
|
|
|
|
; <label-connected> (default)
|
|
|
|
; <label-packetloss>
|
|
|
|
; <animation-packetloss>
|
2019-02-10 13:19:07 +00:00
|
|
|
format-packetloss = <label-connected>
|
2018-12-11 11:02:29 +00:00
|
|
|
|
|
|
|
; Available tokens:
|
|
|
|
; %ifname% [wireless+wired]
|
|
|
|
; %local_ip% [wireless+wired]
|
|
|
|
; %local_ip6% [wireless+wired]
|
|
|
|
; %essid% [wireless]
|
|
|
|
; %signal% [wireless]
|
|
|
|
; %upspeed% [wireless+wired]
|
|
|
|
; %downspeed% [wireless+wired]
|
|
|
|
; %linkspeed% [wired]
|
|
|
|
; Default: %ifname% %local_ip%
|
|
|
|
label-connected = %essid% %local_ip%
|
|
|
|
;label-connected-foreground = #eefafafa
|
|
|
|
|
|
|
|
; Available tokens:
|
|
|
|
; %ifname% [wireless+wired]
|
|
|
|
; Default: (none)
|
|
|
|
label-disconnected = not connected
|
|
|
|
label-disconnected-foreground = #66ffffff
|
|
|
|
|
|
|
|
; Available tokens:
|
|
|
|
; %ifname% [wireless+wired]
|
|
|
|
; %local_ip% [wireless+wired]
|
|
|
|
; %local_ip6% [wireless+wired]
|
|
|
|
; %essid% [wireless]
|
|
|
|
; %signal% [wireless]
|
|
|
|
; %linkspeed% [wired]
|
|
|
|
; Default: (none)
|
|
|
|
label-packetloss = %essid%
|
|
|
|
label-packetloss-foreground = #eefafafa
|
|
|
|
|
|
|
|
[module/date]
|
|
|
|
type = internal/date
|
|
|
|
|
|
|
|
; Seconds to sleep between updates
|
|
|
|
interval = 10.0
|
|
|
|
; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
|
|
|
|
; NOTE: if you want to use syntax tags here you need to use %%{...}
|
|
|
|
date = %d.%m%
|
|
|
|
|
|
|
|
; Optional time format
|
|
|
|
time = %H:%M
|
|
|
|
|
|
|
|
; if `date-alt` or `time-alt` is defined, clicking
|
|
|
|
; the module will toggle between formats
|
|
|
|
;date-alt = %A, %d %B %Y
|
|
|
|
;time-alt = %H:%M:%S
|
|
|
|
|
|
|
|
label = %date% %time%
|
|
|
|
|
2019-02-10 16:23:56 +00:00
|
|
|
;format-background = ${xrdb:color10:#222}
|
2019-01-12 09:03:53 +00:00
|
|
|
format-foreground = #FFFFFF
|
2019-02-10 16:23:56 +00:00
|
|
|
format-underline = ${xrdb:color10:#222}
|
2019-01-12 09:03:53 +00:00
|
|
|
;format-overline = #7bfc67
|
|
|
|
format-padding = 2
|
2018-12-11 11:02:29 +00:00
|
|
|
|
|
|
|
[module/battery]
|
|
|
|
type = internal/battery
|
|
|
|
full-at = 98
|
|
|
|
|
2019-02-10 16:23:56 +00:00
|
|
|
format-discharging-underline = ${xrdb:color4:#222}
|
2019-02-10 13:19:07 +00:00
|
|
|
format-discharging-foreground = #ffffff
|
2019-02-10 16:23:56 +00:00
|
|
|
format-charging-underline = ${xrdb:color4:#222}
|
2019-02-10 13:19:07 +00:00
|
|
|
format-charging-foreground = #ffffff
|
2019-01-12 09:03:53 +00:00
|
|
|
format-charging-padding = 2
|
|
|
|
format-discharging-padding = 2
|
2019-02-11 15:32:58 +00:00
|
|
|
format-full-padding = 2
|
|
|
|
format-full-underline = ${xrdb:color4:#222}
|
|
|
|
format-full-foreground = #ffffff
|
2019-01-12 09:03:53 +00:00
|
|
|
|
2018-12-11 11:02:29 +00:00
|
|
|
battery = BAT0
|
|
|
|
adapter = AC
|
|
|
|
; see "man date" for details on how to format the time string
|
|
|
|
; NOTE: if you want to use syntax tags here you need to use %%{...}
|
|
|
|
; Default: %H:%M:%S
|
|
|
|
time-format = %H:%M
|
|
|
|
|
|
|
|
; Available tags:
|
|
|
|
; <label-charging> (default)
|
|
|
|
; <bar-capacity>
|
|
|
|
; <ramp-capacity>
|
|
|
|
; <animation-charging>
|
2019-02-10 13:19:07 +00:00
|
|
|
format-charging = <label-charging>
|
2018-12-11 11:02:29 +00:00
|
|
|
|
|
|
|
; Available tags:
|
|
|
|
; <label-discharging> (default)
|
|
|
|
; <bar-capacity>
|
|
|
|
; <ramp-capacity>
|
|
|
|
; <animation-discharging>
|
2019-02-10 13:19:07 +00:00
|
|
|
format-discharging = <label-discharging>
|
2018-12-11 11:02:29 +00:00
|
|
|
|
|
|
|
; Available tags:
|
|
|
|
; <label-full> (default)
|
|
|
|
; <bar-capacity>
|
|
|
|
; <ramp-capacity>
|
|
|
|
;format-full = <ramp-capacity> <label-full>
|
|
|
|
|
|
|
|
; Available tokens:
|
|
|
|
; %percentage% (default)
|
|
|
|
; %time%
|
|
|
|
; %consumption% (shows current charge rate in watts)
|
|
|
|
label-charging = chg: %percentage%%
|
|
|
|
|
|
|
|
; Available tokens:
|
|
|
|
; %percentage% (default)
|
|
|
|
; %time%
|
|
|
|
; %consumption% (shows current discharge rate in watts)
|
|
|
|
label-discharging = dis: %percentage%%
|
|
|
|
|
|
|
|
; Available tokens:
|
|
|
|
; %percentage% (default)
|
|
|
|
label-full = full
|
|
|
|
|
|
|
|
; Only applies if <bar-capacity> is used
|
2019-02-10 13:19:07 +00:00
|
|
|
;bar-capacity-width = 10
|
2018-12-11 11:02:29 +00:00
|
|
|
|
|
|
|
[module/xwindow]
|
|
|
|
type = internal/xwindow
|
|
|
|
format = <label>
|
|
|
|
label-maxlen = 75
|
|
|
|
|
|
|
|
[module/counter]
|
|
|
|
type = internal/counter
|
|
|
|
format = <counter>
|
|
|
|
interval = 0.1
|
|
|
|
|
|
|
|
[module/powermenu]
|
|
|
|
type = custom/menu
|
|
|
|
|
|
|
|
format-spacing = 1
|
|
|
|
|
|
|
|
label-open =power
|
2019-01-12 09:03:53 +00:00
|
|
|
label-foreground = #FFFFFF
|
2018-12-11 11:02:29 +00:00
|
|
|
;label-open-foreground = ${colors.separator}
|
|
|
|
label-close = cancel
|
|
|
|
;label-close-foreground = ${colors.separator}
|
2019-02-10 16:23:56 +00:00
|
|
|
label-separator = " "
|
2019-01-12 09:03:53 +00:00
|
|
|
;label-separator-foreground = ${colors.separator}
|
2018-12-11 11:02:29 +00:00
|
|
|
|
|
|
|
menu-0-0 = reboot
|
|
|
|
menu-0-0-exec = menu-open-1
|
|
|
|
menu-0-1 = power off
|
|
|
|
menu-0-1-exec = menu-open-2
|
|
|
|
|
2019-01-12 09:03:53 +00:00
|
|
|
;menu-1-0 = cancel
|
|
|
|
;menu-1-0-exec = menu-open-0
|
|
|
|
menu-1-0 = reboot
|
|
|
|
menu-1-0-exec = reboot
|
2018-12-11 11:02:29 +00:00
|
|
|
|
|
|
|
menu-2-0 = power off
|
|
|
|
menu-2-0-exec = poweroff
|
|
|
|
menu-2-1 = cancel
|
|
|
|
menu-2-1-exec = menu-open-0
|
2019-01-12 09:03:53 +00:00
|
|
|
;format-label-foreground = #5b
|
|
|
|
|
2019-02-10 16:23:56 +00:00
|
|
|
format-underline = ${xrdb:color2:#222}
|
2019-01-12 09:03:53 +00:00
|
|
|
format-foreground = #FFFFFF
|
|
|
|
;format-underline = #b51e3a
|
|
|
|
;format-overline = #b51e3a
|
|
|
|
format-padding = 2
|
2018-12-11 11:02:29 +00:00
|
|
|
|
|
|
|
[module/vpn]
|
|
|
|
type = custom/script
|
|
|
|
exec = pgrep openvpn >/dev/null && printf "up\n" || printf "down\n"
|
2019-02-10 11:29:26 +00:00
|
|
|
exec-if = pgrep -x openvpn
|
2018-12-11 11:02:29 +00:00
|
|
|
interval = 5
|
|
|
|
label = %output%
|
|
|
|
;format-underline = #268bd2
|
|
|
|
format-prefix = "vpn: "
|
|
|
|
format-spacing = 1
|
|
|
|
|
2019-02-10 16:23:56 +00:00
|
|
|
format-underline = ${xrdb:color3:#222}
|
2019-01-12 09:03:53 +00:00
|
|
|
format-foreground = #ffffff
|
2019-02-10 16:23:56 +00:00
|
|
|
;format-underline = ${xrdb:color3:#222}
|
2019-01-12 09:03:53 +00:00
|
|
|
;format-overline = #3c28d6
|
|
|
|
format-padding = 2
|
2018-12-11 11:02:29 +00:00
|
|
|
|
|
|
|
; vim:ft=dosini
|