Skip to content

Instantly share code, notes, and snippets.

@mikebarkmin
Created April 13, 2017 17:53
Show Gist options
  • Save mikebarkmin/43b9fd55e7e45825426b25b26a0e97ea to your computer and use it in GitHub Desktop.
Save mikebarkmin/43b9fd55e7e45825426b25b26a0e97ea to your computer and use it in GitHub Desktop.
[bar/top]
monitor = eDP1
width = 100%
height = 24
background = ${xrdb:color0:#000}
foreground = ${xrdb:color7:#ccfffff}
line-color = ${bar/bottom.background}
line-size = 2
spacing = 2
padding-right = 5
module-margin = 4
font-0 = NotoSans-Regular:size=8;1
font-1 = MaterialIcons:size=10;2
font-2 = Termsynu:size=8:antialias=false;1
font-3 = FontAwesome:size=10;1
modules-left = i3
modules-right = volume backlight wireless-network wired-network battery0 battery1 date
[bar/bottom]
monitor = eDP1
bottom = true
width = 100%
height = 24
background = ${bar/top.background}
foreground = ${bar/top.foreground}
line-color = ${bar/top.background}
line-size = 2
spacing = 3
padding-right = 4
padding-left = 4
module-margin-left = 0
module-margin-right = 6
font-0 = NotoSans-Regular:size=8;1
font-1 = MaterialIcons:size=10;2
font-2 = FontAwesome:size=8;1
modules-left = mpd
modules-right = filesystem cpu memory
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
; focused = Active workspace on focused monitor
label-focused = %index%
label-focused-foreground = ${xrdb:color7:#fff}
label-focused-background = ${xrdb:color18:#773f3f3f}
label-focused-underline= ${xrdb:color1:#c9665e}
label-focused-padding = 4
; unfocused = Inactive workspace on any monitor
label-unfocused = %index%
label-unfocused-padding = 4
label-unfocused-foreground = #dd
label-unfocused-underline = #666
; visible = Active workspace on unfocused monitor
label-visible = %index%
label-visible-background = ${self.label-focused-background}
label-visible-underline = ${xrdb:color4: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-underline = #9b0a20
label-urgent-padding = 4
[module/volume]
type = internal/volume
speaker-mixer = Speaker
headphone-mixer = Headphone
headphone-id = 17
format-volume = <ramp-volume> <label-volume>
label-muted =  muted
label-muted-foreground = #66
ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-2 = 
ramp-volume-3 = 
ramp-headphones-0 = 
ramp-headphones-1 = 
[module/backlight]
type = internal/xbacklight
format = <ramp> <bar>
ramp-0 = 
ramp-1 = 
ramp-2 = 
bar-width = 10
bar-indicator = |
bar-indicator-font = 3
bar-indicator-foreground = #ff
bar-fill = ─
bar-fill-font = 3
bar-fill-foreground = #c9665e
bar-empty = ─
bar-empty-font = 3
bar-empty-foreground = #44
[module/battery0]
type = internal/battery
battery = BAT0
full-at = 95
format-charging = <animation-charging> <label-charging>
format-discharging = <ramp-capacity> <label-discharging>
format-full = <ramp-capacity> <label-full>
time-format = %H:%M
label-charging = %percentage%% %time%
label-discharging = %percentage%% %time%
label-full = Fully charged
ramp-capacity-0 = 
ramp-capacity-0-foreground = #f53c3c
ramp-capacity-1 = 
ramp-capacity-1-foreground = #ffa900
ramp-capacity-2 = 
ramp-capacity-3 = 
ramp-capacity-4 = 
bar-capacity-width = 10
bar-capacity-format = %{+u}%{+o}%fill%%empty%%{-u}%{-o}
bar-capacity-fill = █
bar-capacity-fill-foreground = #ddffffff
bar-capacity-fill-font = 3
bar-capacity-empty = █
bar-capacity-empty-font = 3
bar-capacity-empty-foreground = #44ffffff
animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-3 = 
animation-charging-4 = 
animation-charging-framerate = 750
[module/battery1]
inherit = module/battery0
battery = BAT1
[module/cpu]
type = internal/cpu
interval = 0.5
format = <label> <ramp-coreload>
label = CPU
ramp-coreload-0 = ▁
ramp-coreload-0-font = 2
ramp-coreload-0-foreground = #aaff77
ramp-coreload-1 = ▂
ramp-coreload-1-font = 2
ramp-coreload-1-foreground = #aaff77
ramp-coreload-2 = ▃
ramp-coreload-2-font = 2
ramp-coreload-2-foreground = #aaff77
ramp-coreload-3 = ▄
ramp-coreload-3-font = 2
ramp-coreload-3-foreground = #aaff77
ramp-coreload-4 = ▅
ramp-coreload-4-font = 2
ramp-coreload-4-foreground = #fba922
ramp-coreload-5 = ▆
ramp-coreload-5-font = 2
ramp-coreload-5-foreground = #fba922
ramp-coreload-6 = ▇
ramp-coreload-6-font = 2
ramp-coreload-6-foreground = #ff5555
ramp-coreload-7 = █
ramp-coreload-7-font = 2
ramp-coreload-7-foreground = #ff5555
[module/date]
type = internal/date
date =  %%{F#99}%Y-%m-%d%%{F-} %%{F#fff}%H:%M%%{F-} W%W
[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 = 6
bar-used-indicator-foreground = #ff
bar-used-fill = ─
bar-used-fill-font = 6
bar-used-empty = ─
bar-used-empty-font = 6
bar-used-empty-foreground = #444444
[module/mpd]
type = internal/mpd
format-online = <icon-prev> <icon-stop> <toggle> <icon-next> <icon-repeat> <icon-random> <bar-progress> <label-time> <label-song>
icon-play = 
icon-pause = 
icon-stop = 
icon-prev = 
icon-next = 
icon-random = 
icon-repeat = 
toggle-on-foreground =
toggle-off-foreground = #55
bar-progress-width = 45
bar-progress-format = %{A4:mpdseek+2: A5:mpdseek-2:}%fill%%indicator%%empty%%{A A}
bar-progress-indicator = |
bar-progress-indicator-foreground = #ff
bar-progress-indicator-font = 4
bar-progress-fill = ─
bar-progress-fill-foreground = #aaff77
bar-progress-fill-font = 4
bar-progress-empty = ─
bar-progress-empty-font = 4
bar-progress-empty-foreground = #44
[module/wireless-network]
type = internal/network
interface = wlp4s0
interval = 3.0
ping-interval = 10
format-connected = <ramp-signal> <label-connected>
label-connected = %essid%
label-disconnected =  not connected
label-disconnected-foreground = #66
ramp-signal-0 = 
ramp-signal-1 = 
ramp-signal-2 = 
ramp-signal-3 = 
ramp-signal-4 = 
animation-packetloss-0 = 
animation-packetloss-0-foreground = #ffa64c
animation-packetloss-1 = 
animation-packetloss-1-foreground = ${bar/top.foreground}
animation-packetloss-framerate = 500
[module/wired-network]
type = internal/network
interface = enp0s31f6
interval = 3.0
label-connected =  %{T3}%local_ip%%{T-}
label-disconnected-foreground = #66
[module/clock]
type = internal/date
interval = 2
date = %%{F#999}%Y-%m-%d%%{F-} %%{F#fff}%H:%M%%{F-}
[module/filesystem]
type = internal/fs
mount-0 = /
mount-1 = /home
mount-2 = /opt
label-mounted = %mountpoint%: %percentage_used%% of %total%
interval = 30
spacing = 4
# vim: ft=dosini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment