Skip to content

Instantly share code, notes, and snippets.

@camwhite
Created May 19, 2019 21:37
Show Gist options
  • Save camwhite/a2d5ed134e691dcadd1eff4f49cdc88b to your computer and use it in GitHub Desktop.
Save camwhite/a2d5ed134e691dcadd1eff4f49cdc88b to your computer and use it in GitHub Desktop.
[bar/i3wmthemer_bar]
width = 100%
height = 27
radius = 0
fixed-center = true
monitor = HDMI-1-1
monitor-fallback = eDP-1-1
background = #0D0208
foreground = #00FF41
line-size = 3
line-color =
border-size = 0
border-color =
padding-left = 0
padding-right = 2
module-margin-left = 1
module-margin-right = 2
font-0 = "Source Code Pro Semibold:size=12;1"
font-1 = "Font Awesome 5 Free:style=Solid:size=12;1"
font-2 = "Font Awesome 5 Brands:size=12;1"
font-3 = Hack Nerd Font Mono:size=12:antialias=false;1
font-4 = MaterialIcons:size=12;1
modules-left = wlan eth cpu memory
modules-center = i3
modules-right = volume battery date powermenu
tray-position =
;tray-padding =
cursor-click = pointer
cursor-scroll = ns-resize
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
pin-workspaces = true
label-mode-padding = 2
label-mode-foreground = #828282
label-mode-background = #1f1f1f
label-focused = %index%
label-focused-background = #00FF41
label-focused-foreground = #003B00
label-focused-padding = 2
label-unfocused = %index%
label-unfocused-background = #1f1f1f
label-unfocused-foreground = #00FF41
label-unfocused-padding = 2
label-visible = %index%
label-visible-background = #00FF41
label-visible-foreground = #1f1f1f
label-visible-padding = 2
label-urgent = %index%
label-urgent-background = #BA2922
label-urgent-padding = 2
[module/volume]
type = internal/pulseaudio
format-volume = <ramp-volume> <label-volume>
label-volume-font = 2
label-muted-font = 2
format-muted-foreground = #66
label-muted = Sound muted
label-muted-foreground = #99ffffff
ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-2 = 
ramp-volume-font = 3
[module/battery]
type = internal/battery
full-at = 98
format-charging = <animation-charging> <label-charging>
format-discharging = <ramp-capacity> <label-discharging>
format-full = %{F#666}%{F#ccfafafa} <label-full>
ramp-capacity-0 = 
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-3 = 
ramp-capacity-4 = 
ramp-capacity-font = 3
animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
[module/cpu]
type = internal/cpu
interval = 0.5
format = <label> <ramp-coreload>
label = CPU
ramp-coreload-0 = ▁
ramp-coreload-0-font = 3
ramp-coreload-0-foreground = #aaff77
ramp-coreload-1 = ▂
ramp-coreload-1-font = 3
ramp-coreload-1-foreground = #aaff77
ramp-coreload-2 = ▃
ramp-coreload-2-font = 3
ramp-coreload-2-foreground = #aaff77
ramp-coreload-3 = ▄
ramp-coreload-3-font = 3
ramp-coreload-3-foreground = #aaff77
ramp-coreload-4 = ▅
ramp-coreload-4-font = 3
ramp-coreload-4-foreground = #fba922
ramp-coreload-5 = ▆
ramp-coreload-5-font = 3
ramp-coreload-5-foreground = #fba922
ramp-coreload-6 = ▇
ramp-coreload-6-font = 3
ramp-coreload-6-foreground = #ff5555
ramp-coreload-7 = █
ramp-coreload-7-font = 3
ramp-coreload-7-foreground = #ff5555
[module/memory]
type = internal/memory
format = <label> <bar-used>
label = RAM
bar-used-width = 30
bar-used-foreground-0 = #aaff77
bar-used-foreground-1 = #aaff77
bar-used-foreground-2 = #fba922
bar-used-foreground-3 = #ff5555
bar-used-indicator = |
bar-used-indicator-font = 3
bar-used-indicator-foreground = #ff
bar-used-fill = ─
bar-used-fill-font = 3
bar-used-empty = ─
bar-used-empty-font = 3
bar-used-empty-foreground = #444444
[module/wlan]
type = internal/network
interface = wlp2s0
interval = 3.0
format-connected = <ramp-signal> <label-connected>
format-connected-padding = 2
label-connected = %essid% %upspeed:9% ↑ %downspeed:9% ↓
format-disconnected =
ramp-signal-0 = 
ramp-signal-1 = 
ramp-signal-2 = 
ramp-signal-3 = 
ramp-signal-4 = 
[module/eth]
type = internal/network
interface = enp0s3
interval = 3.0
format-connected-padding = 2
format-connected-foreground = #1f1f1f
format-connected-background = #8abeb7
format-connected-prefix = " "
format-connected-prefix-foreground = #1f1f1f
label-connected = %local_ip%
format-disconnected =
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d"
time = %H:%M
time-alt = %H:%M:%S
format-prefix = 
format-foreground = #1f1f1f
format-background = #00FF41
format-padding = 2
label = %date% %time%
[module/powermenu]
type = custom/menu
expand-right = true
format-spacing = 1
label-open = 
label-open-foreground = #00FF41
label-close =  cancel
label-close-foreground = #00FF41
label-separator = |
label-separator-foreground = #00FF41
menu-0-0 = reboot
menu-0-0-exec = menu-open-1
menu-0-1 = power off
menu-0-1-exec = menu-open-2
menu-0-2 = log off
menu-0-2-exec = menu-open-3
menu-1-0 = cancel
menu-1-0-exec = menu-open-0
menu-1-1 = reboot
menu-1-1-exec = reboot
menu-2-0 = power off
menu-2-0-exec = poweroff
menu-2-1 = cancel
menu-2-1-exec = menu-open-0
menu-3-0 = log off
menu-3-0-exec = pkill -KILL -u $USER
menu-3-1 = cancel
menu-3-1-exec = menu-open-0
[settings]
screenchange-reload = true
[global/wm]
margin-top = 0
margin-bottom = 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment