Skip to content
Permalink
arch-x1
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
;--------;
; COLORS ;
;--------;
[colors]
background = ${xrdb:color1:#222}
background-alt = #444
foreground = #000000
foreground-alt = #000000
primary = ${xrdb:color3:#222}
secondary = ${xrdb:color14:#222}
c1 = ${xrdb:color4:#222}
c2 = ${xrdb:color5:#222}
c3 = ${xrdb:color6:#222}
c4 = ${xrdb:color7:#222}
border-color = 0
alert = #dd0000
[bar/example]
;------------;
; DIMENSIONS ;
;------------;
width = 100%
height = 27
offset-y = 0
offset-x = 0
radius = 10.0
border-size = 0
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 6
line-color = #f00
;----------;
; LOCATION ;
;----------;
bottom = false
monitor = ${env:MONITOR:}
;-------;
; FONTS ;
;-------;
font-0 = Inconsolata:style=Regular:size=14;
font-1 = unifont:fontformat=truetype:size=16:antialias=false;0
font-2 = siji:pixelsize=16;1
font-3 = Font Awesome 5 Brands,Font Awesome 5 Brands Regular:style=Regular
font-4 = Font Awesome 5 Free,Font Awesome 5 Free Regular:style=Regular
font-5 = "Noto Color Emoji:pixelsize=16:style=Regular:scale=10;2"
;---------------;
; MISCELLANEOUS ;
;---------------;
fixed-center = true
padding-left = 2
padding-right = 2
module-margin = 1.5
modules-left = i3 crypto nordstat
modules-center = optimusgfx
modules-right = volume memory cpu wlan battery temperature date powermenu
tray-position = none
tray-detached = true
;---------;
; MODULES ;
;---------;
[module/corona]
type = custom/script
exec = echo `corona`
interval = 600
format-prefix-font = 5
[module/nordstat]
type = custom/script
exec = echo "VPN:`nordstat`"
interval = 5
[module/crypto]
type = custom/script
exec = crypto
interval = 60
[module/optimusgfx]
type = custom/script
exec = optimus-manager --print-mode | grep mode | tr " " \\n | tail -1
interval = 60
[module/mpd]
type = internal/mpd
label-offline = mpd is offline
format-online = <icon-prev> <toggle> <icon-next> <label-song>
format-offline = <label-offline>
host = 127.0.0.1
port = 6600
icon-prev = 
icon-stop = 
icon-play = 
icon-pause = 
icon-next = 
label-song-maxlen = 25
label-song-ellipsis = true
bar-progress-width = 10
bar-progress-indicator = |
bar-progress-fill = ─
bar-progress-empty = ─
[module/volume]
type = internal/alsa
format-volume = VOL: <label-volume>
format-muted = 🔈 0%
ramp-volume-0 = 🔈
ramp-volume-1 = 🔉
ramp-volume-2 = 🔊
[module/memory]
type = internal/memory
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = ${colors.c1}
label = RAM: %percentage_used%%
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = ${colors.c2}
label = CPU: %percentage:2%%
[module/wlan]
type = internal/network
interface = wlp82s0
interval = 3.0
format-connected = <ramp-signal> <label-connected>
format-connected-underline = ${colors.c3}
label-connected = %essid%
format-disconnected =
;format-disconnected = <label-disconnected>
format-disconnected-underline = #ff0000
;label-disconnected = %ifname% disconnected
;label-disconnected-foreground = ${colors.foreground-alt}
ramp-signal-0 = 
ramp-signal-1 = 
ramp-signal-2 = 
ramp-signal-3 = 
ramp-signal-4 = 
ramp-signal-foreground = ${colors.foreground-alt}
[module/battery]
type = internal/battery
battery = BAT0
adapter = AC
full-at = 98
format-charging = <animation-charging> <label-charging>
format-charging-underline = ${xrdb:color3:#222}
format-discharging = <animation-discharging> <label-discharging>
format-discharging-underline = ${self.format-charging-underline}
format-full-prefix = " "
format-full-prefix-foreground = ${colors.foreground-alt}
format-full-underline = ${self.format-charging-underline}
ramp-capacity-0 = 
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-foreground = ${colors.foreground-alt}
animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
animation-discharging-0 = 
animation-discharging-1 = 
animation-discharging-2 = 
animation-discharging-foreground = ${colors.foreground-alt}
animation-discharging-framerate = 750
[module/date]
type = internal/date
interval = 5
date =
date-alt = " %Y-%m-%d"
time = %H:%M
time-alt = %H:%M:%S
format-prefix = 
format-prefix-foreground = ${colors.foreground-alt}
format-underline = ${xrdb:color6:#222}
label = %date% %time%
[module/temperature]
type = internal/temperature
thermal-zone = 0
warn-temperature = 80
format = <ramp> <label>
format-underline = ${xrdb:color4:#222}
format-warn = <ramp> <label-warn>
format-warn-underline = #ff0000
label = %temperature-c%
label-warn = %temperature-c%
label-warn-foreground = ${colors.secondary}
ramp-0 = 
ramp-1 = 
ramp-2 = 
ramp-foreground = ${colors.foreground-alt}
[module/powermenu]
type = custom/menu
expand-right = true
format-spacing = 1
label-open = 
label-open-foreground = #000000
label-close =  cancel
label-close-foreground = ${colors.secondary}
label-separator = |
label-separator-foreground = ${colors.foreground-alt}
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 = hibernate
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 = sudo reboot
menu-2-0 = power off
menu-2-0-exec = sudo poweroff
menu-3-0 = hibernate
menu-3-0-exec = sudo hibernate
[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
label-mode-padding = 2
label-mode-foreground = #000
label-mode-background = ${colors.primary}
; focused = Active workspace on focused monitor
label-focused = %index%
label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.primary}
label-focused-padding = 2
; unfocused = Inactive workspace on any monitor
label-unfocused = %index%
label-unfocused-padding = 2
; visible = Active 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-background = ${colors.alert}
label-urgent-padding = 2
; Separator in between workspaces
; label-separator = |