306 lines
7.5 KiB
INI
306 lines
7.5 KiB
INI
;==========================================================
|
|
;
|
|
;
|
|
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
|
|
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
|
|
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
|
|
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
|
|
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
|
|
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
|
|
;
|
|
;
|
|
; To learn more about how to configure Polybar
|
|
; go to https://github.com/polybar/polybar
|
|
;
|
|
; The README contains a lot of information
|
|
;
|
|
;==========================================================
|
|
|
|
[colors]
|
|
f_high = #ffffff
|
|
f_med = #72dec2
|
|
f_low = #66606b
|
|
f_inv = #000000
|
|
b_high = #000000
|
|
b_med = #201e21
|
|
b_low = #322e33
|
|
b_inv = #72dec2
|
|
background = #29272b
|
|
|
|
foreground = #dfdfdf
|
|
foreground-alt = #555
|
|
primary = #ffb52a
|
|
secondary = #e60053
|
|
alert = #bd2c40
|
|
|
|
; ---------------------------- BAR DEFAULT ----------------------------
|
|
|
|
[base]
|
|
width = 100%
|
|
height = 35
|
|
radius = 0
|
|
|
|
background = ${colors.background}
|
|
foreground = ${colors.f_high}
|
|
|
|
line-size = 0
|
|
|
|
padding-left = 0
|
|
padding-right = 2
|
|
|
|
module-margin-left = 1
|
|
module-margin-right = 2
|
|
|
|
fixed-center = true
|
|
wm-restack = i3
|
|
;override-redirect = true
|
|
|
|
font-0 = Hack Nerd Font:fontformat=truetype:size=12:antialias=true;0
|
|
;font-0 = fixed:pixelsize=10;1
|
|
;font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
|
;font-3 = siji:pixelsize=10;1
|
|
|
|
; ---------------------------- BAR 1 ----------------------------
|
|
|
|
[bar/main]
|
|
inherit = base
|
|
monitor = ${env:MONITOR:HDMI-0}
|
|
|
|
modules-left = i3 xwindow
|
|
modules-right = filesystem memory cpu eth xkeyboard alsa date
|
|
|
|
tray-position = right
|
|
tray-padding = 2
|
|
tray-background = ${colors.b_med}
|
|
|
|
; ---------------------------- BAR 2 ----------------------------
|
|
|
|
[bar/side]
|
|
inherit = base
|
|
monitor = ${env:MONITOR:VGA-0}
|
|
fixed-center = true
|
|
|
|
modules-left = i3 xwindow
|
|
modules-right = date
|
|
|
|
; ---------------------------- MODULES ----------------------------
|
|
|
|
[module/xwindow]
|
|
type = internal/xwindow
|
|
label = %title:0:80:...%
|
|
|
|
[module/xkeyboard]
|
|
type = internal/xkeyboard
|
|
blacklist-0 = num lock
|
|
|
|
format-prefix = "kbd "
|
|
format-prefix-foreground = ${colors.f_med}
|
|
|
|
label-layout = %layout%
|
|
|
|
label-indicator-padding = 2
|
|
label-indicator-margin = 1
|
|
label-indicator-foreground = ${colors.f_med}
|
|
label-indicator-background = ${colors.b_med}
|
|
|
|
[module/filesystem]
|
|
type = internal/fs
|
|
interval = 25
|
|
|
|
mount-0 = /
|
|
|
|
label-mounted = %{F#ffb545}%mountpoint%%{F-} %percentage_used%%
|
|
label-unmounted = %mountpoint% not mounted
|
|
|
|
[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
|
|
|
|
; modes
|
|
label-mode-padding = 2
|
|
label-mode-foreground = ${colors.f_inv}
|
|
label-mode-background = ${colors.b_inv}
|
|
|
|
; focused = Active workspace on focused monitor
|
|
label-focused = %name%
|
|
label-focused-background = ${colors.b_high}
|
|
label-focused-foreground = ${colors.f_high}
|
|
label-focused-padding = 2
|
|
|
|
; unfocused = Inactive workspace on any monitor
|
|
label-unfocused = %name%
|
|
label-unfocused-padding = 2
|
|
label-unfocused-background = ${colors.background}
|
|
label-unfocused-foreground = ${colors.f_low}
|
|
|
|
; visible = Active workspace on unfocused monitor
|
|
label-visible = %name%
|
|
label-visible-background = ${colors.b_med}
|
|
label-visible-foreground = ${colors.f_low}
|
|
label-visible-padding = ${self.label-focused-padding}
|
|
|
|
; urgent = Workspace with urgency hint set
|
|
label-urgent = %name%
|
|
label-urgent-background = ${colors.alert}
|
|
label-urgent-padding = 2
|
|
|
|
[module/cpu]
|
|
type = internal/cpu
|
|
interval = 2
|
|
format = <label> <ramp-coreload>
|
|
format-prefix = "cpu "
|
|
format-prefix-foreground = ${colors.f_med}
|
|
label = %percentage:2%%
|
|
|
|
; Spacing between individual per-core ramps
|
|
ramp-coreload-spacing = 0
|
|
ramp-coreload-0 = ▁
|
|
ramp-coreload-1 = ▂
|
|
ramp-coreload-2 = ▃
|
|
ramp-coreload-3 = ▄
|
|
ramp-coreload-4 = ▅
|
|
ramp-coreload-5 = ▆
|
|
ramp-coreload-6 = ▇
|
|
ramp-coreload-7 = █
|
|
|
|
[module/memory]
|
|
type = internal/memory
|
|
interval = 2
|
|
format-prefix = "mem "
|
|
format-prefix-foreground = ${colors.f_med}
|
|
label = %percentage_used%%
|
|
|
|
[module/eth]
|
|
type = internal/network
|
|
interface = enp5s0
|
|
interval = 3.0
|
|
|
|
format-connected = <label-connected>
|
|
format-connected-prefix = "eth "
|
|
format-connected-prefix-foreground = ${colors.f_med}
|
|
label-connected = %downspeed:9%
|
|
|
|
format-disconnected =
|
|
;format-disconnected = <label-disconnected>
|
|
;format-disconnected-underline = ${self.format-connected-underline}
|
|
;label-disconnected = %ifname% disconnected
|
|
;label-disconnected-foreground = ${colors.foreground-alt}
|
|
|
|
[module/date]
|
|
type = internal/date
|
|
interval = 5
|
|
|
|
date = "%a,"
|
|
date-alt = "%d.%m.%Y"
|
|
|
|
time = "%H:%M"
|
|
time-alt = "%H:%M"
|
|
|
|
format-prefix =
|
|
format-prefix-foreground = ${colors.foreground-alt}
|
|
format-underline = ${colors.f_med}
|
|
|
|
label = %date% %time%
|
|
|
|
[module/pulseaudio]
|
|
type = internal/pulseaudio
|
|
|
|
format-volume = <label-volume> <bar-volume>
|
|
label-volume = VOL %percentage%%
|
|
label-volume-foreground = ${root.foreground}
|
|
|
|
label-muted = 🔇 muted
|
|
label-muted-foreground = #666
|
|
|
|
bar-volume-width = 10
|
|
bar-volume-foreground-0 = #55aa55
|
|
bar-volume-foreground-1 = #55aa55
|
|
bar-volume-foreground-2 = #55aa55
|
|
bar-volume-foreground-3 = #55aa55
|
|
bar-volume-foreground-4 = #55aa55
|
|
bar-volume-foreground-5 = #f5a70a
|
|
bar-volume-foreground-6 = #ff5555
|
|
bar-volume-gradient = false
|
|
bar-volume-indicator = x
|
|
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.foreground-alt}
|
|
|
|
[module/alsa]
|
|
type = internal/alsa
|
|
|
|
format-volume = <label-volume> <bar-volume>
|
|
label-volume = vol
|
|
label-volume-foreground = ${colors.f_med}
|
|
|
|
format-muted-prefix = " "
|
|
format-muted-foreground = ${colors.foreground-alt}
|
|
label-muted = sound muted
|
|
|
|
bar-volume-width = 10
|
|
bar-volume-foreground-0 = #55aa55
|
|
bar-volume-foreground-1 = #55aa55
|
|
bar-volume-foreground-2 = #55aa55
|
|
bar-volume-foreground-3 = #55aa55
|
|
bar-volume-foreground-4 = #55aa55
|
|
bar-volume-foreground-5 = #f5a70a
|
|
bar-volume-foreground-6 = #ff5555
|
|
bar-volume-gradient = true
|
|
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.foreground-alt}
|
|
|
|
[module/powermenu]
|
|
type = custom/menu
|
|
|
|
expand-right = true
|
|
|
|
format-spacing = 1
|
|
|
|
label-open =
|
|
label-open-foreground = ${colors.secondary}
|
|
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-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-2-1 = cancel
|
|
menu-2-1-exec = menu-open-0
|
|
|
|
[settings]
|
|
screenchange-reload = true
|
|
;compositing-background = xor
|
|
;compositing-background = screen
|
|
;compositing-foreground = source
|
|
;compositing-border = over
|
|
;pseudo-transparency = false
|
|
|
|
[global/wm]
|
|
margin-top = 5
|
|
margin-bottom = 5
|
|
|
|
; vim:ft=dosini
|