diff options
author | Arnold Sommerfeld <sommerfeld@strisemarx.com> | 2024-04-11 13:50:32 +0100 |
---|---|---|
committer | Arnold Sommerfeld <sommerfeld@strisemarx.com> | 2024-04-11 13:50:32 +0100 |
commit | 81de0cc55074819902389c203647d9400fb79274 (patch) | |
tree | 8ed85e3f991316f10f5e18f71992f4124856241c /home | |
parent | a78fac7af53f4776695511715e9692ca6200b98b (diff) | |
download | dotfiles-81de0cc55074819902389c203647d9400fb79274.tar.gz dotfiles-81de0cc55074819902389c203647d9400fb79274.tar.bz2 dotfiles-81de0cc55074819902389c203647d9400fb79274.zip |
[polybar] Simplify visuals
Diffstat (limited to 'home')
-rw-r--r-- | home/.config/polybar/config.ini | 154 |
1 files changed, 77 insertions, 77 deletions
diff --git a/home/.config/polybar/config.ini b/home/.config/polybar/config.ini index bad1f09..4e18fad 100644 --- a/home/.config/polybar/config.ini +++ b/home/.config/polybar/config.ini @@ -55,8 +55,7 @@ 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 +modules-right = filesystem pulseaudio cpu memory temperature wlan eth battery date tray ; cursor-click = pointer ; cursor-scroll = ns-resize @@ -161,7 +160,7 @@ label-connected = %{F#F0C674}%{F-} %essid% [module/eth] inherit = network-base interface = bond0 -label-connected = %local_ip%|⬇%downspeed%|⬆%upspeed% +label-connected = ⬇%downspeed%|⬆%upspeed% [module/date] type = internal/date @@ -182,91 +181,92 @@ screenchange-reload = 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 +; Create click handler used to focus workspace +; Default: true +enable-click = false -label-occupied = %index% -label-occupied-padding = 2 +; Create scroll handlers used to cycle workspaces +; Default: true +enable-scroll = false -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 +; Available tags: +; <label-monitor> +; <label-state> - gets replaced with <label-(focused|urgent|occupied|empty)> +; <label-mode> - gets replaced with <label-(monocle|tiled|fullscreen|floating|locked|sticky|private)> +; Default: <label-state> +format = <label-state> <label-mode> + +; The following labels will be used to indicate the layout/mode +; for the focused workspace. Requires <label-mode> +; +; Available tokens: +; None +label-monocle = MON +label-fullscreen = FULL +label-floating = FLOAT +label-pseudotiled = PSEUDO +label-locked = LOCK +label-locked-foreground = #bd2c40 +label-sticky = STI +label-sticky-foreground = #fba922 +label-private = PRI +label-private-foreground = #bd2c40 +label-marked = MAR ; Separator in between workspaces -; label-separator = | +label-separator = | +label-separator-padding = 1 +label-separator-foreground = #ffb52a [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 +; This is useful in case the battery never reports 100% charge +; Default: 100 +full-at = 95 + +; format-low once this charge percentage is reached +; Default: 10 +; New in version 3.6.0 +low-at = 5 + +; Use the following command to list batteries and adapters: +; $ ls -1 /sys/class/power_supply/ +battery = BAT0 +adapter = ADP1 + +; Available tokens: +; %percentage% (default) - is set to 100 if full-at is reached +; %percentage_raw% +; %time% +; %consumption% (shows current charge rate in watts) +label-charging = CHA %percentage%% + +; Available tokens: +; %percentage% (default) - is set to 100 if full-at is reached +; %percentage_raw% +; %time% +; %consumption% (shows current discharge rate in watts) +label-discharging = DIS %percentage%% + +; Available tokens: +; %percentage% (default) - is set to 100 if full-at is reached +; %percentage_raw% +label-full = FULL + +; Available tokens: +; %percentage% (default) - is set to 100 if full-at is reached +; %percentage_raw% +; %time% +; %consumption% (shows current discharge rate in watts) +; New in version 3.6.0 +label-low = LOW [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} + +[module/tray] +type = internal/tray [global/wm] margin-top = 0 |