2020-01-01 23:59:24 -05:00

204 lines
4.4 KiB
INI

; vim:ft=dosini
[colors]
black = #1d2021
darkred = #cc241d
darkgreen = #98971a
darkyellow = #d79921
darkblue = #458588
darkmagenta = #b16286
darkcyan = #689d6a
lightgray = #a89984
gray = #928374
red = #fb4934
green = #b8bb26
yellow = #fabd2f
blue = #83a598
magenta = #d3869b
cyan = #8ec07c
white = #ebdbb2
background = #1d2021
foreground = #ebdbb2
[bar/main]
monitor = ${env:MONITOR:eDP-1-1}
enable-ipc = true
width = 100%
height = 20
fixed-center = false
; allow scrolling workspaces
scroll-up = i3wm-wsnext
scroll-down = i3wm-wsprev
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 2
line-color = ${colors.red}
border-size = 0
border-color = ${colors.white}
padding-left = 0
padding-right = 0
module-margin-left = 1
module-margin-right = 1
font-0 = "Sauce Code Pro:size=9;1"
font-1 = "Sauce Code Pro:size=8;1"
font-2 = "Sauce Code Pro:scale=10:style=Regular;2"
font-3 = "Sauce Code Pro:size=9;1"
wm-restack = i3
modules-left = i3
modules-center = xwindow
modules-right = cpu memory volume wifi ethernet battery date
tray-position = right
tray-padding = 0
[module/battery]
type = internal/battery
battery = BAT0
adapter = ADP1
full-at = 98
time-format = %H:%M
format-charging = <label-charging>
label-charging = BAT: %percentage%
format-discharging = <label-discharging>
label-discharging = BAT: %percentage%
[module/cpu]
type = internal/cpu
; Seconds to sleep between updates
interval = 0.5
format = <label>
; %percentage% (default) - total cpu load averaged over all cores
format-prefix-foreground = ${colors.gray}
label = CPU: %percentage%
[module/date]
type = internal/date
interval = 60
date = "%Y %b %d (%a)"
time = "%I:%M%p"
format-prefix-foreground = ${colors.gray}
label = %date% %time%
[module/email]
type = custom/script
exec = mailbox
interval = 5
format-prefix = " "
click-left = st -e neomutt
[module/ethernet]
type = internal/network
interface = enp0s25
interval = 3.0
format-connected-underline = ${colors.green}
format-connected-prefix-foreground = ${colors.gray}
label-connected = %local_ip%
format-disconnected = <label-disconnected>
format-disconnected-underline = ${colors.red}
label-disconnected = %ifname%
label-disconnected-foreground = ${colors.gray}
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
label-mode-padding = 1
label-mode-foreground = ${colors.white}
label-mode-background = ${colors.darkyellow}
; focused = Active workspace on focused monitor
label-focused = %index%
label-focused-background = #3f3f3f
label-focused-underline = #fba922
label-focused-padding = 1
; unfocused = Inactive workspace on any monitor
label-unfocused = %index%
label-unfocused-padding = 1
; visible = ctive workspace on unfocused monitor
label-visible = %index%
label-visible-background = ${self.label-focused-background}
label-visible-underline = ${self.label-focused-underline}
label-visible-padding = ${self.label-focused-padding}
; urgent = Workspace with urgency hint set
label-urgent = %index%
label-urgent-foreground = #000000
label-urgent-background = #bd2c40
label-urgent-padding = 1
[module/memory]
type = internal/memory
interval = 2
format-prefix-foreground = ${colors.gray}
label = RAM: %gb_used%/%gb_free%
[settings]
screenchange-reload = true
[module/volume]
type = internal/alsa
format-volume = <label-volume> <bar-volume>
label-volume-foreground = ${colors.foreground}
format-muted-foreground = ${colors.gray}
label-muted = Muted
bar-volume-width = 10
bar-volume-foreground-0 = ${colors.blue}
bar-volume-foreground-1 = ${colors.blue}
bar-volume-foreground-2 = ${colors.green}
bar-volume-foreground-3 = ${colors.green}
bar-volume-foreground-4 = ${colors.green}
bar-volume-foreground-5 = ${colors.yellow}
bar-volume-foreground-6 = ${colors.red}
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-fill = =
bar-volume-fill-font = 2
bar-volume-empty = =
bar-volume-empty-font = 2
bar-volume-empty-foreground = ${colors.gray}
[module/wifi]
type = internal/network
interface = wlp2s0
interval = 3.0
format-connected = <label-connected>
label-connected = Wifi: %essid%
format-disconnected = <label-disconnected>
format-disconnected-underline = ${colors.red}
label-disconnected = No wifi
label-disconnected-foreground = ${colors.gray}
[global/wm]
margin-top = 5
margin-bottom = 5
[module/xwindow]
type = internal/xwindow
label = %title:0:100:...%
format-foreground = ${colors.blue}