dotfiles/dot_config/polybar/config.ini

285 lines
8 KiB
INI

; ██╗███╗ ██╗███████╗ █████╗ ███╗ ██╗████████╗ ██████╗ ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗ ██████╗ ██████╗ ███╗ ██╗███████╗██╗ ██████╗
; ██║████╗ ██║██╔════╝██╔══██╗████╗ ██║╚══██╔══╝██╔═══██╗ ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗ ██╔════╝██╔═══██╗████╗ ██║██╔════╝██║██╔════╝
; ██║██╔██╗ ██║█████╗ ███████║██╔██╗ ██║ ██║ ██║ ██║ ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝ ██║ ██║ ██║██╔██╗ ██║█████╗ ██║██║ ███╗
; ██║██║╚██╗██║██╔══╝ ██╔══██║██║╚██╗██║ ██║ ██║ ██║ ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗ ██║ ██║ ██║██║╚██╗██║██╔══╝ ██║██║ ██║
; ██║██║ ╚████║███████╗██║ ██║██║ ╚████║ ██║ ╚██████╔╝ ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║ ╚██████╗╚██████╔╝██║ ╚████║██║ ██║╚██████╔╝
; ╚═╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═╝ ╚═════╝ ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝ ╚═══╝╚═╝ ╚═╝ ╚═════╝
; (updated 01/07/2025)
######################################
# SETTINGS #
######################################
[settings]
screenchange-reload = true
pseudo-transparency = true
######################################
# COLORS #
######################################
[colors]
background = #222222
background-alt = #222222
foreground = #C5C8C6
primary = #e6b044
secondary = #8ABEB7
alert = #A54242
disabled = #707880
######################################
# BAR #
######################################
[bar/default]
width = 100%
height = 3%
radius = 0
dpi = 70
background = ${colors.background}
foreground = ${colors.foreground}
#border-size = 1px
border-color = ${colors.primary}
offset-x = 0px
offset-y = 0px
padding-left = 10px
padding-right = 10px
padding-top = 5px
module-margin = 5px
separator = ""
separator-foreground = ${colors.disabled}
font-0 = JetBrains Mono:weight=bold:size=13
font-1 = FontAwesome:size=11
modules-left = i3
modules-right = memory cpu pulseaudio tray
modules-center = date battery menu-apps
cursor-click = pointer
cursor-scroll = ns-resize
enable-ipc = true
override-redirect = true
wm-restack = i3
######################################
# MODULES #
######################################
[module/menu-apps]
type = custom/menu
expand-right = true
; "menu-LEVEL-N" has the same properties as "label-NAME" with
; the additional "exec" property
;
; Commands will be executed using "/bin/sh -c $COMMAND"
menu-0-0 = Browsers
menu-0-0-exec = #menu-apps.open.1
menu-0-1 = Multimedia
menu-0-1-exec = #menu-apps.open.2
menu-1-0 = Firefox
menu-1-0-exec = firefox
menu-1-1 = Chromium
menu-1-1-exec = chromium
[module/tray]
type = internal/tray
tray-size = 50%
[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%"
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}
[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:2%%
[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}%ifname%%{F-} %essid% %local_ip%
[module/eth]
inherit = network-base
interface-type = wired
label-connected = %{F#F0C674}%ifname%%{F-} %local_ip%
[module/date]
type = internal/date
interval = 1
date = %d/%m/%Y %H:%M:%S
label = %date%
label-foreground = #ffffff
[module/battery]
label = "BAT "
type = internal/battery
low-at = 20
battery = BAT0
adapter = ADP1
poll-interval = 5
format-charging = <animation-charging> <label-charging>
format-discharging = <ramp-capacity> <label-discharging>
label-charging = " Charging %percentage%%"
label-discharging = " Discharging %percentage%%"
label-full = Fully Charged!
label-low = BATTERY LOW
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-3 =
ramp-capacity-4 =
bar-capacity-width = 10
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-3 =
animation-charging-4 =
; Framerate in milliseconds
animation-charging-framerate = 300
animation-discharging-0 =
animation-discharging-1 =
animation-discharging-2 =
animation-discharging-3 =
animation-discharging-4 =
; Framerate in milliseconds
animation-discharging-framerate = 500
animation-low-0 = !
animation-low-1 =
animation-low-framerate = 200
[module/i3]
type = internal/i3
pin-workspaces = true
show-urgent = true
strip-wsnumbers = true
index-sort = true
enable-click = true
enable-scroll = true
wrapping-scroll = true
reverse-scroll = false
fuzzy-match = true
format = <label-state> <label-mode>
label-mode = %mode%
label-mode-padding = 2
label-mode-background = #e60053
label-focused = %name%
label-focused-foreground = #ffffff
label-focused-background = #3f3f3f
label-focused-padding = 2
label-unfocused = %name%
label-unfocused-padding = 0
label-visible = %name%
label-visible-underline = #555555
label-visible-padding = 1
label-urgent = %name%
label-urgent-foreground = #000000
label-urgent-background = #bd2c40
label-urgent-padding = 1
label-separator = |
label-separator-padding = 1
label-separator-foreground = ${colors.primary}