aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/home/.config/polybar/config.ini
diff options
context:
space:
mode:
Diffstat (limited to 'home/.config/polybar/config.ini')
-rw-r--r--home/.config/polybar/config.ini275
1 files changed, 275 insertions, 0 deletions
diff --git a/home/.config/polybar/config.ini b/home/.config/polybar/config.ini
new file mode 100644
index 0000000..bad1f09
--- /dev/null
+++ b/home/.config/polybar/config.ini
@@ -0,0 +1,275 @@
+;==========================================================
+;
+;
+; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
+; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
+; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
+; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
+; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
+; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
+;
+;
+; To learn more about how to configure Polybar
+; go to https://github.com/polybar/polybar
+;
+; The README contains a lot of information
+;
+;==========================================================
+
+[colors]
+background = ${xrdb:color0:#1d2021}
+background-alt = ${xrdb:color8:#928374}
+foreground = ${xrdb:color15:#ebdbb2}
+primary = ${xrdb:color11:#fabd2f}
+secondary = ${xrdb:color14:#8ec07c}
+alert = ${xrdb:color9:#fb4934}
+disabled = #707880
+
+[bar/mybar]
+monitor = ${env:MONITOR:}
+width = 100%
+height = 24pt
+radius = 6
+
+; dpi = 96
+
+background = ${colors.background}
+foreground = ${colors.foreground}
+
+line-size = 3pt
+
+border-size = 4pt
+border-color = #00000000
+
+padding-left = 0
+padding-right = 1
+
+module-margin = 1
+
+separator = |
+separator-foreground = ${colors.disabled}
+
+font-0 = mono:size=8;1
+font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
+font-2 = siji:pixelsize=10;1
+font-3 = NotoMono Nerd Font Mono:size=10;2
+
+modules-left = bspwm
+modules-center = xwindow
+modules-right = filesystem pulseaudio cpu memory temperature wlan battery date
+
+; cursor-click = pointer
+; cursor-scroll = ns-resize
+
+enable-ipc = true
+
+wm-restack = bspwm
+
+; override-redirect = true
+
+[module/systray]
+type = internal/tray
+
+format-margin = 8pt
+tray-spacing = 16pt
+
+[module/xworkspaces]
+type = internal/xworkspaces
+
+label-active = %name%
+label-active-background = ${colors.background-alt}
+label-active-underline= ${colors.primary}
+label-active-padding = 1
+
+label-occupied = %name%
+label-occupied-padding = 1
+
+label-urgent = %name%
+label-urgent-background = ${colors.alert}
+label-urgent-padding = 1
+
+label-empty = %name%
+label-empty-foreground = ${colors.disabled}
+label-empty-padding = 1
+
+[module/xwindow]
+type = internal/xwindow
+label = %title:0:60:...%
+
+[module/filesystem]
+type = internal/fs
+interval = 25
+
+mount-0 = /
+
+label-mounted = %{F#F0C674}%mountpoint%%{F-} %percentage_used%%
+
+label-unmounted = %mountpoint% not mounted
+label-unmounted-foreground = ${colors.disabled}
+
+[module/pulseaudio]
+type = internal/pulseaudio
+
+format-volume-prefix = "VOL "
+format-volume-prefix-foreground = ${colors.primary}
+format-volume = <label-volume>
+
+label-volume = %percentage%%
+
+label-muted = muted
+label-muted-foreground = ${colors.disabled}
+click-right = st -e pulsemixer
+
+[module/xkeyboard]
+type = internal/xkeyboard
+blacklist-0 = num lock
+
+label-layout = %layout%
+label-layout-foreground = ${colors.primary}
+
+label-indicator-padding = 2
+label-indicator-margin = 1
+label-indicator-foreground = ${colors.background}
+label-indicator-background = ${colors.secondary}
+
+[module/memory]
+type = internal/memory
+interval = 2
+format-prefix = "RAM "
+format-prefix-foreground = ${colors.primary}
+label = %percentage_used%% (%gb_used%)
+
+[module/cpu]
+type = internal/cpu
+interval = 2
+format-prefix = "CPU "
+format-prefix-foreground = ${colors.primary}
+label = %percentage:2%%
+
+[network-base]
+type = internal/network
+interval = 5
+format-connected = <label-connected>
+format-disconnected = <label-disconnected>
+label-disconnected = %{F#F0C674}%ifname%%{F#707880} disconnected
+
+[module/wlan]
+inherit = network-base
+interface-type = wireless
+label-connected = %{F#F0C674}%{F-} %essid%
+
+[module/eth]
+inherit = network-base
+interface = bond0
+label-connected = %local_ip%|⬇%downspeed%|⬆%upspeed%
+
+[module/date]
+type = internal/date
+interval = 5
+
+date = "%a %d %b"
+time = %H:%M
+time-alt = %H:%M
+
+label = %date% %time%
+label-foreground = ${colors.primary}
+
+[settings]
+screenchange-reload = true
+; pseudo-transparency = true
+
+
+[module/bspwm]
+type = internal/bspwm
+
+pin-workspaces = true
+format = <label-state> <label-mode>
+label-focused = %index%
+label-focused-background = ${colors.background-alt}
+label-focused-underline= ${colors.primary}
+label-focused-padding = 2
+
+label-occupied = %index%
+label-occupied-padding = 2
+
+label-urgent = %index%!
+label-urgent-background = ${colors.alert}
+label-urgent-padding = 2
+
+label-empty = %index%
+label-empty-foreground = ${colors.foreground-alt}
+label-empty-padding = 2
+
+label-monocle = monocle
+label-fullscreen = fullscreen
+label-floating = floating
+label-pseudotiled = pseudo
+label-locked = locked
+label-locked-foreground = ${colors.alert}
+label-sticky = sticky
+label-sticky-foreground = ${colors.alert}
+label-private = private
+label-private-foreground =${colors.alert}
+label-marked = marked
+
+; Separator in between workspaces
+; label-separator = |
+
+[module/battery]
+type = internal/battery
+battery = ${env:BAT:BAT0}
+adapter = ${env:ADP:ADP1}
+full-at = 90
+
+format-charging = <animation-charging> <label-charging>
+format-charging-underline = ${colors.primary}
+
+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/temperature]
+type = internal/temperature
+thermal-zone = 0
+base-temperature = 30
+warn-temperature = 80
+
+format = <ramp> <label>
+format-underline = ${colors.alert}
+format-warn = <ramp> <label-warn>
+format-warn-underline = ${self.format-underline}
+
+label = %temperature-c%
+label-warn = %temperature-c%
+label-warn-foreground = ${colors.secondary}
+
+ramp-0 = 
+ramp-1 = 
+ramp-2 = 
+ramp-foreground = ${colors.foreground-alt}
+
+[global/wm]
+margin-top = 0
+margin-bottom = 0
+
+; vim:ft=dosini