Add multi-monitor support to all themes and made small tweaks to sizing and fonts

This commit is contained in:
2024-12-07 09:45:50 -07:00
parent 1c486f3103
commit 47f67432aa
102 changed files with 689 additions and 5228 deletions

View File

@@ -18,6 +18,17 @@ margin-bottom = 0
; Used for bottom aligned bars
margin-top = 0
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; File Inclusion
; include an external file, like module file, etc.
include-file = ~/.config/polybar/shared/modules.ini
include-file = ~/.config/polybar/shared/bars.ini
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; Bar Settings
@@ -27,7 +38,7 @@ margin-top = 0
; If unspecified, the application will pick the first one it finds.
; $ polybar -m | cut -d ':' -f 1
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
monitor =
monitor = ${env:MONITOR:}
; Use the specified monitor as a fallback if the main one is not found.
monitor-fallback =
@@ -55,7 +66,7 @@ height = 30
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
; the percentage can optionally be extended with a pixel offset like so:
; 50%:-10, this will result in an offset in the x or y direction
; 50%:-10, this will result in an offset in the x or y direction
; of 50% minus 10 pixels
offset-x = 0
offset-y = 0
@@ -68,10 +79,10 @@ foreground = ${color.fg}
; Background gradient (vertical steps)
; background-[0-9]+ = #aarrggbb
;;background-0 =
;;background-0 =
; Value used for drawing rounded corners
; Note: This shouldn't be used together with border-size because the border
; Note: This shouldn't be used together with border-size because the border
; doesn't get rounded
; Individual top/bottom values can be defined using:
; radius-{top,bottom}
@@ -120,17 +131,24 @@ module-margin-right = 3
; font-3 = FontAwesome:size=10
; See the Fonts wiki page for more details
font-0 = "Droid Sans:size=9:weight=bold;3"
font-0 = "Noto Sans:size=9:weight:bold;3"
font-1 = "Iosevka Nerd Font:size=12;3"
font-2 = "MesloLGS NF:size=14;3"
font-3 = "MesloLGS NF:size=8;3"
font-4 = "MesloLGS NF:size=7;2"
; Modules are added to one of the available blocks
; modules-left = cpu ram
; modules-center = xwindow xbacklight
; modules-right = ipc clock
modules-left = applications
modules-left = menu
modules-center = date
modules-right = style alsa network battery sysmenu
modules-right = i3 style alsa network battery settings powermenu
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
@@ -144,11 +162,11 @@ dim-value = 1.0
; If the value is empty or undefined, the atom value
; will be created from the following template: polybar-[BAR]_[MONITOR]
; NOTE: The placeholders are not available for custom values
wm-name =
wm-name =
; Locale used to localize various module data (e.g. date)
; Expects a valid libc locale, for example: sv_SE.UTF-8
locale =
locale =
; Position of the system tray window
; If empty or undefined, tray support will be disabled
@@ -168,7 +186,7 @@ tray-detached = false
; Tray icon max size
tray-maxsize = 16
; Background color for the tray container
; Background color for the tray container
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
; By default the tray container will use the bar
; background color.
@@ -197,7 +215,7 @@ tray-scale = 1.0
; Set a DPI values used when rendering text
; This only affects scalable fonts
; dpi =
; dpi =
; Enable support for inter-process messaging
; See the Messaging wiki page for more details.
@@ -205,8 +223,8 @@ enable-ipc = true
; Fallback click handlers that will be called if
; there's no matching module handler found.
click-left =
click-middle =
click-left =
click-middle =
click-right =
scroll-up =
scroll-down =
@@ -219,8 +237,8 @@ double-click-right =
; - default : The default pointer as before, can also be an empty string (default)
; - pointer : Typically in the form of a hand
; - ns-resize : Up and down arrows, can be used to indicate scrolling
cursor-click =
cursor-scroll =
cursor-click =
cursor-scroll =
;; WM Workspace Specific
@@ -267,8 +285,8 @@ compositing-underline = over
compositing-border = over
; Define fallback values used by all module formats
;format-foreground =
;format-background =
;format-foreground =
;format-background =
;format-underline =
;format-overline =
;format-spacing =
@@ -294,7 +312,7 @@ pseudo-transparency = false
[color]
;; Active Colors
bg = #80000000
bg = #000000
fg = #EAEAEA
fg-alt = #9C9C9C
@@ -335,6 +353,45 @@ blue-gray = #546e7a
;;
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/menu]
type = custom/text
content = Applications
;;content-background = ${color.bg}
content-foreground = ${color.fg}
;;content-padding = 4
click-left = ~/.config/polybar/qpanels/scripts/launcher.sh --gnome
click-right = ~/.config/polybar/qpanels/scripts/launcher.sh --gnome
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/powermenu]
type = custom/text
content =
;;content-background = ${color.bg}
content-foreground = ${color.fg}
;;content-padding = 4
click-left = ~/.config/polybar/qpanels/scripts/powermenu.sh --gnome
click-right = ~/.config/polybar/qpanels/scripts/powermenu.sh --gnome
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/style]
type = custom/text
#content = פֿ
content =
click-left = ~/.config/polybar/qpanels/scripts/style-switch.sh --gnome
click-right = ~/.config/polybar/qpanels/scripts/style-switch.sh --gnome
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/alsa]
type = internal/alsa
@@ -381,184 +438,155 @@ ramp-volume-1 = 
ramp-volume-2 =
ramp-volume-3 =
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
; ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/battery]
type = internal/battery
; [module/battery]
; type = internal/battery
full-at = 99
; full-at = 99
; $ ls -1 /sys/class/power_supply/
battery = BAT1
adapter = ACAD
; ; $ ls -1 /sys/class/power_supply/
; battery = BAT1
; adapter = ACAD
poll-interval = 2
time-format = %H:%M
; poll-interval = 2
; time-format = %H:%M
; Available tags:
; <label-charging> (default)
; <bar-capacity>
; <ramp-capacity>
; <animation-charging>
format-charging = <animation-charging>
; ; Available tags:
; ; <label-charging> (default)
; ; <bar-capacity>
; ; <ramp-capacity>
; ; <animation-charging>
; format-charging = <animation-charging>
; Available tags:
; <label-discharging> (default)
; <bar-capacity>
; <ramp-capacity>
; <animation-discharging>
format-discharging = <ramp-capacity>
; ; Available tags:
; ; <label-discharging> (default)
; ; <bar-capacity>
; ; <ramp-capacity>
; ; <animation-discharging>
; format-discharging = <ramp-capacity>
; Available tags:
; <label-full> (default)
; <bar-capacity>
; <ramp-capacity>
;format-full = <ramp-capacity> <label-full>
; ; Available tags:
; ; <label-full> (default)
; ; <bar-capacity>
; ; <ramp-capacity>
; ;format-full = <ramp-capacity> <label-full>
; Available tokens:
; %percentage% (default)
; %time%
; %consumption% (shows current charge rate in watts)
label-charging = %percentage%%
; ; Available tokens:
; ; %percentage% (default)
; ; %time%
; ; %consumption% (shows current charge rate in watts)
; label-charging = %percentage%%
; Available tokens:
; %percentage% (default)
; %time%
; %consumption% (shows current discharge rate in watts)
label-discharging = %percentage%%
; ; Available tokens:
; ; %percentage% (default)
; ; %time%
; ; %consumption% (shows current discharge rate in watts)
; label-discharging = %percentage%%
; Available tokens:
; %percentage% (default)
;label-full = Fully Charged
label-full =
label-full-foreground = ${color.green}
; ; Available tokens:
; ; %percentage% (default)
; ;label-full = Fully Charged
; label-full = 
; label-full-foreground = ${color.green}
ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-3 =
ramp-capacity-4 =
; ramp-capacity-0 = 
; ramp-capacity-1 = 
; ramp-capacity-2 = 
; ramp-capacity-3 = 
; ramp-capacity-4 = 
; ramp-capacity-5 = 
; ramp-capacity-6 = 
; ramp-capacity-7 = 
; ramp-capacity-8 = 
; ramp-capacity-9 = 
animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-3 =
animation-charging-4 =
; animation-charging-0 = 
; animation-charging-1 = 
; animation-charging-2 = 
; animation-charging-3 = 
; animation-charging-4 = 
; animation-charging-5 = 
; animation-charging-6 = 
; Framerate in milliseconds
animation-charging-framerate = 750
; ; Framerate in milliseconds
; animation-charging-framerate = 750
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
; ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/date]
type = internal/date
; [module/date]
; type = internal/date
interval = 1.0
; interval = 1.0
time = "%a %b %d %I:%M %p"
;time-alt = %B %d, %Y
; time = %a %I:%M %p
; time-alt = %B %d, %Y
format = <label>
label = %time%
; format = <label>
; label = %time%
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
; ;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/network]
type = internal/network
; [module/network]
; type = internal/network
interface = wlan0
interval = 1.0
; interface = wlan0
; interval = 1.0
;ping-interval = 3
;;udspeed-minwidth = 5
accumulate-stats = true
unknown-as-up = true
; ;ping-interval = 3
; ;;udspeed-minwidth = 5
; accumulate-stats = true
; unknown-as-up = true
; Available tags:
; <label-connected> (default)
; <ramp-signal>
format-connected = <label-connected>
; ; Available tags:
; ; <label-connected> (default)
; ; <ramp-signal>
; format-connected = <label-connected>
; Available tags:
; <label-disconnected> (default)
format-disconnected = <label-disconnected>
; ; Available tags:
; ; <label-disconnected> (default)
; format-disconnected = <label-disconnected>
; Available tags:
; <label-connected> (default)
; <label-packetloss>
; <animation-packetloss>
;;format-packetloss = <animation-packetloss> <label-connected>
; ; Available tags:
; ; <label-connected> (default)
; ; <label-packetloss>
; ; <animation-packetloss>
; ;;format-packetloss = <animation-packetloss> <label-connected>
; Available tokens:
; %ifname% [wireless+wired]
; %local_ip% [wireless+wired]
; %local_ip6% [wireless+wired]
; %essid% [wireless]
; %signal% [wireless]
; %upspeed% [wireless+wired]
; %downspeed% [wireless+wired]
; %linkspeed% [wired]
; Default: %ifname% %local_ip%
label-connected = "%{A1:networkmanager_dmenu &:}直%{A}"
; ; Available tokens:
; ; %ifname% [wireless+wired]
; ; %local_ip% [wireless+wired]
; ; %local_ip6% [wireless+wired]
; ; %essid% [wireless]
; ; %signal% [wireless]
; ; %upspeed% [wireless+wired]
; ; %downspeed% [wireless+wired]
; ; %linkspeed% [wired]
; ; Default: %ifname% %local_ip%
; label-connected = "%{A1:networkmanager_dmenu &:}直%{A}"
; Available tokens:
; %ifname% [wireless+wired]
; Default: (none)
label-disconnected = "%{A1:networkmanager_dmenu &:}睊%{A}"
label-disconnected-foreground = ${color.fg-alt}
; ; Available tokens:
; ; %ifname% [wireless+wired]
; ; Default: (none)
; label-disconnected = "%{A1:networkmanager_dmenu &:}睊%{A}"
; label-disconnected-foreground = ${color.fg-alt}
; Available tokens:
; %ifname% [wireless+wired]
; %local_ip% [wireless+wired]
; %local_ip6% [wireless+wired]
; %essid% [wireless]
; %signal% [wireless]
; %upspeed% [wireless+wired]
; %downspeed% [wireless+wired]
; %linkspeed% [wired]
; Default: (none)
;label-packetloss = %essid%
;label-packetloss-foreground = #eefafafa
; ; Available tokens:
; ; %ifname% [wireless+wired]
; ; %local_ip% [wireless+wired]
; ; %local_ip6% [wireless+wired]
; ; %essid% [wireless]
; ; %signal% [wireless]
; ; %upspeed% [wireless+wired]
; ; %downspeed% [wireless+wired]
; ; %linkspeed% [wired]
; ; Default: (none)
; ;label-packetloss = %essid%
; ;label-packetloss-foreground = #eefafafa
ramp-signal-0 =
ramp-signal-1 =
ramp-signal-2 =
ramp-signal-3 =
ramp-signal-4 =
; ramp-signal-0 =
; ramp-signal-1 =
; ramp-signal-2 =
; ramp-signal-3 =
; ramp-signal-4 =
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/applications]
type = custom/text
content = Applications
;;content-background = ${color.bg}
content-foreground = ${color.fg}
;;content-padding = 4
click-left = ~/.config/polybar/qpanels/scripts/launcher.sh --edark
click-right = ~/.config/polybar/qpanels/scripts/launcher.sh --edark
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/sysmenu]
type = custom/text
content =
;;content-background = ${color.bg}
content-foreground = ${color.fg}
;;content-padding = 4
click-left = ~/.config/polybar/qpanels/scripts/powermenu.sh --edark
click-right = ~/.config/polybar/qpanels/scripts/powermenu.sh --edark
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/style]
type = custom/text
content =
click-left = ~/.config/polybar/qpanels/scripts/style-switch.sh --edark
click-right = ~/.config/polybar/qpanels/scripts/style-switch.sh --edark
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_