Add multi-monitor support to all themes and made small tweaks to sizing and fonts
This commit is contained in:
@@ -27,7 +27,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 =
|
||||
@@ -41,7 +41,7 @@ monitor-strict = false
|
||||
override-redirect = false
|
||||
|
||||
; Put the bar at the bottom of the screen
|
||||
bottom = false
|
||||
bottom = true
|
||||
|
||||
; Prefer fixed center position for the `modules-center` block
|
||||
; When false, the center position will be based on the size of the other blocks.
|
||||
@@ -51,7 +51,7 @@ fixed-center = true
|
||||
; the percentage can optionally be extended with a pixel offset like so:
|
||||
; 50%:-10, this will result in a width or height of 50% minus 10 pixels
|
||||
width = 100%
|
||||
height = 30
|
||||
height = 28
|
||||
|
||||
; 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:
|
||||
@@ -96,8 +96,8 @@ radius-bottom = 0.0
|
||||
; the border is placed withing this area. So you effectively only have the
|
||||
; following horizontal space on the bar:
|
||||
; width - border-right-size - border-left-size
|
||||
;;border-size = 2
|
||||
;;border-color = ${color.ac}
|
||||
;;border-size = 1
|
||||
;;border-color = ${color.bg}
|
||||
|
||||
; Number of spaces to add at the beginning/end of the bar
|
||||
; Individual side values can be defined using:
|
||||
@@ -107,8 +107,8 @@ padding = 0
|
||||
; Number of spaces to add before/after each module
|
||||
; Individual side values can be defined using:
|
||||
; module-margin-{left,right}
|
||||
module-margin-left = 0
|
||||
module-margin-right = 0
|
||||
module-margin-left = 3
|
||||
module-margin-right = 3
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
@@ -120,18 +120,19 @@ module-margin-right = 0
|
||||
; font-3 = FontAwesome:size=10
|
||||
; See the Fonts wiki page for more details
|
||||
|
||||
font-0 = "Noto Sans:size=9;3"
|
||||
font-1 = "Iosevka Nerd Font:size=12;3"
|
||||
font-2 = "Iosevka Nerd Font:size=16;4"
|
||||
font-0 = "Noto Sans:size=9;4"
|
||||
font-1 = "icomoon\-feather:size=10;4"
|
||||
font-2 = "Iosevka Nerd Font:size=12;5"
|
||||
font-3 = "Noto Sans:size=8;4"
|
||||
|
||||
; Modules are added to one of the available blocks
|
||||
; modules-left = cpu ram
|
||||
; modules-center = xwindow xbacklight
|
||||
; modules-right = ipc clock
|
||||
|
||||
modules-left = menu sep2 term web files settings
|
||||
modules-left = menu term web files settings
|
||||
modules-center =
|
||||
modules-right = style sep alsa battery network date sep sysmenu
|
||||
modules-right = style network alsa battery date sysmenu
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
@@ -295,10 +296,11 @@ pseudo-transparency = false
|
||||
[color]
|
||||
|
||||
;; Active Colors
|
||||
bg = #232832
|
||||
bg-alt = #1C2028
|
||||
bg = #80000000
|
||||
bg-alt = #1A000000
|
||||
fg = #EAEAEA
|
||||
fg-alt = #9C9C9C
|
||||
ac= #8EDBF2
|
||||
|
||||
trans = #00000000
|
||||
white = #FFFFFF
|
||||
@@ -362,16 +364,12 @@ type = internal/alsa
|
||||
; <ramp-volume>
|
||||
; <bar-volume>
|
||||
format-volume = <ramp-volume>
|
||||
format-volume-background = ${color.bg-alt}
|
||||
format-volume-padding = 2
|
||||
|
||||
; Available tags:
|
||||
; <label-muted> (default)
|
||||
; <ramp-volume>
|
||||
; <bar-volume>
|
||||
format-muted = <label-muted>
|
||||
format-muted-background = ${color.bg-alt}
|
||||
format-muted-padding = 2
|
||||
;format-muted = <label-muted>
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default)
|
||||
@@ -379,13 +377,14 @@ label-volume = %percentage%%
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default
|
||||
label-muted = ﱝ
|
||||
label-muted =
|
||||
label-muted-foreground = ${color.fg-alt}
|
||||
|
||||
ramp-volume-0 =
|
||||
ramp-volume-1 =
|
||||
ramp-volume-2 =
|
||||
ramp-volume-3 =
|
||||
ramp-volume-0 =
|
||||
ramp-volume-1 =
|
||||
ramp-volume-2 =
|
||||
ramp-volume-3 =
|
||||
ramp-volume-4 =
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
@@ -407,25 +406,19 @@ time-format = %H:%M
|
||||
; <ramp-capacity>
|
||||
; <animation-charging>
|
||||
format-charging = <animation-charging>
|
||||
format-charging-background = ${color.bg-alt}
|
||||
format-charging-padding = 2
|
||||
|
||||
; Available tags:
|
||||
; <label-discharging> (default)
|
||||
; <bar-capacity>
|
||||
; <ramp-capacity>
|
||||
; <animation-discharging>
|
||||
format-discharging = <ramp-capacity>
|
||||
format-discharging-background = ${color.bg-alt}
|
||||
format-discharging-padding = 2
|
||||
format-discharging = <ramp-capacity> <label-discharging>
|
||||
|
||||
; Available tags:
|
||||
; <label-full> (default)
|
||||
; <bar-capacity>
|
||||
; <ramp-capacity>
|
||||
format-full = <label-full>
|
||||
format-full-background = ${color.bg-alt}
|
||||
format-full-padding = 2
|
||||
;format-full = <ramp-capacity> <label-full>
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default)
|
||||
@@ -437,32 +430,35 @@ label-charging = %percentage%%
|
||||
; %percentage% (default)
|
||||
; %time%
|
||||
; %consumption% (shows current discharge rate in watts)
|
||||
label-discharging = %percentage%%
|
||||
label-discharging = " %percentage%%"
|
||||
label-discharging-font = 4
|
||||
|
||||
; Available tokens:
|
||||
; %percentage% (default)
|
||||
;label-full = Fully Charged
|
||||
label-full =
|
||||
label-full =
|
||||
label-full-foreground = ${color.green}
|
||||
|
||||
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 =
|
||||
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-5 =
|
||||
animation-charging-6 =
|
||||
animation-charging-0 =
|
||||
animation-charging-1 =
|
||||
animation-charging-2 =
|
||||
animation-charging-3 =
|
||||
animation-charging-4 =
|
||||
animation-charging-5 =
|
||||
animation-charging-6 =
|
||||
animation-charging-7 =
|
||||
animation-charging-8 =
|
||||
|
||||
; Framerate in milliseconds
|
||||
animation-charging-framerate = 750
|
||||
@@ -478,8 +474,7 @@ time = %I:%M %p
|
||||
;;time-alt = %B %d, %Y
|
||||
|
||||
format = <label>
|
||||
format-background = ${color.bg-alt}
|
||||
format-padding = 2
|
||||
;format-padding = 3
|
||||
|
||||
label = %time%
|
||||
|
||||
@@ -500,14 +495,10 @@ unknown-as-up = true
|
||||
; <label-connected> (default)
|
||||
; <ramp-signal>
|
||||
format-connected = <label-connected>
|
||||
format-connected-background = ${color.bg-alt}
|
||||
format-connected-padding = 2
|
||||
|
||||
; Available tags:
|
||||
; <label-disconnected> (default)
|
||||
format-disconnected = <label-disconnected>
|
||||
format-disconnected-background = ${color.bg-alt}
|
||||
format-disconnected-padding = 2
|
||||
|
||||
; Available tags:
|
||||
; <label-connected> (default)
|
||||
@@ -525,14 +516,12 @@ format-disconnected-padding = 2
|
||||
; %downspeed% [wireless+wired]
|
||||
; %linkspeed% [wired]
|
||||
; Default: %ifname% %local_ip%
|
||||
;label-connected = 說
|
||||
label-connected = "%{A1:networkmanager_dmenu &:}說%{A}"
|
||||
label-connected = "%{A1:networkmanager_dmenu &:}%{A}"
|
||||
|
||||
; Available tokens:
|
||||
; %ifname% [wireless+wired]
|
||||
; Default: (none)
|
||||
;label-disconnected = ﲁ
|
||||
label-disconnected = "%{A1:networkmanager_dmenu &:}ﲁ%{A}"
|
||||
label-disconnected = "%{A1:networkmanager_dmenu &:}%{A}"
|
||||
label-disconnected-foreground = ${color.fg-alt}
|
||||
|
||||
; Available tokens:
|
||||
@@ -548,49 +537,33 @@ label-disconnected-foreground = ${color.fg-alt}
|
||||
;label-packetloss = %essid%
|
||||
;label-packetloss-foreground = #eefafafa
|
||||
|
||||
ramp-signal-0 = 說
|
||||
ramp-signal-1 = 說
|
||||
ramp-signal-2 = 說
|
||||
ramp-signal-3 = 說
|
||||
ramp-signal-4 = 說
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/menu]
|
||||
type = custom/text
|
||||
|
||||
content =
|
||||
content-background = ${color.light-blue}
|
||||
content-foreground = ${color.fg}
|
||||
content-padding = 3
|
||||
|
||||
click-left = ~/.config/polybar/panels/scripts/launcher.sh --budgie
|
||||
click-right = ~/.config/polybar/panels/scripts/launcher.sh --budgie
|
||||
ramp-signal-0 =
|
||||
ramp-signal-1 =
|
||||
ramp-signal-2 =
|
||||
ramp-signal-3 =
|
||||
ramp-signal-4 =
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/sysmenu]
|
||||
type = custom/text
|
||||
|
||||
content = 襤
|
||||
content-background = ${color.bg-alt}
|
||||
content = " "
|
||||
;;content-background = ${color.bg}
|
||||
content-foreground = ${color.fg}
|
||||
content-padding = 3
|
||||
;content-padding = 1
|
||||
|
||||
click-left = ~/.config/polybar/panels/scripts/powermenu.sh --budgie
|
||||
click-right = ~/.config/polybar/panels/scripts/powermenu.sh --budgie
|
||||
click-left = ~/.config/polybar/panels/scripts/powermenu.sh --zorin
|
||||
click-right = ~/.config/polybar/panels/scripts/powermenu.sh --zorin
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/style]
|
||||
type = custom/text
|
||||
content = פֿ
|
||||
content-background = ${color.bg-alt}
|
||||
content-foreground = ${color.fg}
|
||||
content-padding = 2
|
||||
content =
|
||||
|
||||
click-left = ~/.config/polybar/panels/scripts/style-switch.sh --budgie
|
||||
click-right = ~/.config/polybar/panels/scripts/style-switch.sh --budgie
|
||||
click-left = ~/.config/polybar/panels/scripts/style-switch.sh --zorin
|
||||
click-right = ~/.config/polybar/panels/scripts/style-switch.sh --zorin
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
@@ -598,26 +571,38 @@ click-right = ~/.config/polybar/panels/scripts/style-switch.sh --budgie
|
||||
type = custom/text
|
||||
|
||||
content = |
|
||||
content-foreground = ${color.grey}
|
||||
content-background = ${color.bg-alt}
|
||||
content-padding = 1
|
||||
content-foreground = ${color.bg}
|
||||
content-background = ${color.bg}
|
||||
content-padding = 0
|
||||
|
||||
[module/sep2]
|
||||
type = custom/text
|
||||
|
||||
content = |
|
||||
content-foreground = ${color.bg}
|
||||
content-background = ${color.bg}
|
||||
content-padding = 1
|
||||
content-foreground = ${color.bg-alt}
|
||||
content-background = ${color.bg-alt}
|
||||
content-padding = 0
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
[module/menu]
|
||||
type = custom/text
|
||||
|
||||
content = "%{T3}%{T-}"
|
||||
content-background = ${color.ac}
|
||||
content-foreground = ${color.black}
|
||||
content-padding = 4
|
||||
|
||||
click-left = ~/.config/polybar/panels/scripts/launcher.sh --zorin
|
||||
click-right = ~/.config/polybar/panels/scripts/launcher.sh --zorin
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;; Apps
|
||||
|
||||
[module/term]
|
||||
type = custom/text
|
||||
|
||||
content = "%{T3}%{T-}"
|
||||
content-foreground = ${color.green}
|
||||
content = "%{T3}%{T-}"
|
||||
content-foreground = ${color.white}
|
||||
content-background = ${color.bg}
|
||||
content-padding = 3
|
||||
|
||||
@@ -626,8 +611,8 @@ click-left = termite &
|
||||
[module/web]
|
||||
type = custom/text
|
||||
|
||||
content = "%{T3}%{T-}"
|
||||
content-foreground = ${color.orange}
|
||||
content = "%{T3}%{T-}"
|
||||
content-foreground = ${color.deep-orange}
|
||||
content-background = ${color.bg}
|
||||
content-padding = 3
|
||||
|
||||
@@ -636,8 +621,8 @@ click-left = firefox &
|
||||
[module/files]
|
||||
type = custom/text
|
||||
|
||||
content = "%{T3}%{T-}"
|
||||
content-foreground = ${color.blue}
|
||||
content = "%{T3}%{T-}"
|
||||
content-foreground = ${color.cyan}
|
||||
content-background = ${color.bg}
|
||||
content-padding = 3
|
||||
|
||||
@@ -646,12 +631,11 @@ click-left = thunar &
|
||||
[module/settings]
|
||||
type = custom/text
|
||||
|
||||
content = "%{T3}煉%{T-}"
|
||||
content-foreground = ${color.red}
|
||||
content = "%{T3}漣%{T-}"
|
||||
content-foreground = ${color.lime}
|
||||
content-background = ${color.bg}
|
||||
content-padding = 3
|
||||
|
||||
click-left = xfce4-settings &
|
||||
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
|
||||
Reference in New Issue
Block a user