Skip to content

Instantly share code, notes, and snippets.

Created November 29, 2017 16:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/0abb4c6e1c97df54127d58c6e84eb286 to your computer and use it in GitHub Desktop.
Save anonymous/0abb4c6e1c97df54127d58c6e84eb286 to your computer and use it in GitHub Desktop.
[colors]
; =======================
background = #2e3440
foreground = #f3f4f5
alert = #d08770
volume-min = #a3be8c
volume-med = #ebcb8b
volume-max = #bf616a
; =======================
[bar/default]
width = 100%
height = 22
radius = 0
fixed-center = false
bottom = false
background = ${colors.background}
foreground = ${colors.foreground}
module-margin-left = 1
module-margin-right = 1
font-0 = Liberation Mono:style=Regular:size=10;4
font-1 = FontAwesome:style=Regular:size=11;4
modules-left = i3
modules-center =
modules-right = eth memory cpu volume date powermenu
tray-position = right
tray-padding = 4
;tray-transparent = true
;tray-background = #0063ff
wm-restack = i3
;override-redirect = true
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
; Only show workspaces on the same output as the bar
pin-workspaces = true
ws-icon-1 = "Shell;"
ws-icon-2 = "Firefox;"
ws-icon-3 = "Chat;"
ws-icon-4 = "Work;"
ws-icon-5 = "Dev;"
ws-icon-0 = "Music;"
label-mode-padding = 1
label-mode-foreground = ${colors.foreground}
label-mode-background = ${colors.background}
; focused = Active workspace on focused monitor
label-focused = %icon%
label-focused-foreground = ${colors.alert}
label-focused-background = ${colors.background}
label-focused-padding = 1
; unfocused = Inactive workspace on any monitor
label-unfocused = %icon%
label-unfocused-foreground = ${colors.foreground}
label-unfocused-background = ${colors.background}
label-unfocused-padding = 1
; urgent = Workspace with urgency hint set
label-urgent = %icon%
label-urgent-background = ${colors.alert}
label-urgent-padding = 1
[module/cpu]
type = internal/cpu
interval = 5
format = " <label>"
format-foreground = ${colors.foreground}
label = %percentage%%
[module/memory]
type = internal/memory
interval = 5
format = " <label>"
format-foreground = ${colors.foreground}
label = %percentage_used%%
[module/eth]
type = internal/network
interface = wlp6s0b1
interval = 1
label-connected = "%downspeed% %upspeed%"
format-disconnected = <label-disconnected>
label-disconnected = " NETWORK DOWN"
label-disconnected-foreground = ${colors.alert}
[module/date]
type = custom/script
exec = TZ=Europe/Kiev date +"%H:%M"
interval = 1
[module/volume]
type = internal/volume
format-volume = <label-volume> <bar-volume>
label-volume = ""
label-volume-foreground = ${root.foreground}
label-muted = " MUTED"
bar-volume-width = 10
bar-volume-foreground-0 = ${colors.volume-min}
bar-volume-foreground-1 = ${colors.volume-min}
bar-volume-foreground-2 = ${colors.volume-min}
bar-volume-foreground-3 = ${colors.volume-med}
bar-volume-foreground-4 = ${colors.volume-med}
bar-volume-foreground-5 = ${colors.volume-max}
bar-volume-foreground-6 = ${colors.volume-max}
bar-volume-gradient = false
bar-volume-indicator = |
bar-volume-indicator-font = 2
bar-volume-indicator-foreground = #ff
bar-volume-fill = ─
bar-volume-fill-font = 2
bar-volume-empty = ─
bar-volume-empty-font = 2
bar-volume-empty-foreground =
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
[global/wm]
margin-top = 5
margin-bottom = 5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment