aboutsummaryrefslogtreecommitdiff
path: root/.config/polybar
diff options
context:
space:
mode:
Diffstat (limited to '.config/polybar')
-rw-r--r--.config/polybar/config.ini229
1 files changed, 64 insertions, 165 deletions
diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini
index 7726dac..52720b1 100644
--- a/.config/polybar/config.ini
+++ b/.config/polybar/config.ini
@@ -15,22 +15,29 @@
; The README contains a lot of information
;
;==========================================================
+
+[settings]
+screenchange-reload = true
+pseudo-transparency = true
+#throttle-output = 5
+#throttle-output-for = 10
+#compositing-background = source
+#compositing-foreground = over
+#compositing-overline = over
+#compositing-underline = over
+#compositing-border = over
+
[colors]
-foreground = #fafafa
-foreground-alt = #aaCECCC9
-background = #aa000000
-;background = #aa101212
-;background = #00000000
-background-alt = #aaCECCC9
+foreground = #fafafa
+foreground-alt = #aaCECCC9
+background = #aa000000
+background-alt = #aaCECCC9
disabled = #707880
-altblend = #282e49
-;primary = #aaCECCC9
-;secondary = #aaCECCC9
-;non = #aaCECCC9
+alert = #ff8989
blue = #61afef
dark_blue = #42A5F5
-nord = #81a1c1
light_blue = #ADD8E6
+nord = #81a1c1
purple = #c882e7
orange = #E57C46
gray = #676E95
@@ -41,38 +48,23 @@ amber = #FBC02D
indigo = #6C77BB
green = #61C766
lime = #B9C244
-cyber = #53E2AE
-alert = #ff8989
-
[fonts]
font0 = "SF Pro Mono:style=Display Bold:size=10;2"
-; Font for crypto, dunst
font1 = "Material Design Icons:style=Bold:size=11.5;2"
-; Font for menu
font2 = "Material Design Icons:style=Bold:size=13.5;2"
-; Font for controlCenter
font3 = "SF Pro:style=Medium:size=10.5;2"
-; Font for search
font4 = "SF Pro:style=Regular:size=13;2"
-; Font for bspwm/workspaces
font5 = "UbuntuMono Nerd font:size=11;2"
-font6="Feather:style=Regular:size=15;4"
-font7="Font Awesome 6 Pro Solid:style=Solid:size=14;4"
-font8 ="JetBrainsMono Nerd Font:size=9;2"
+font6 = "Feather:style=Regular:size=15;4"
+font7 = "Font Awesome 6 Pro Solid:style=Solid:size=14;4"
+font8 = "JetBrainsMono Nerd Font:size=9;2"
-[bar/top-left]
-#monitor = ${env:MONITOR1}
-monitor = ${env:MONITOR:}
-#monitor = ${env:MONITOR:HDMI-1}
-width = 260px
-offset-x = 1%
-offset-y = 1%
-height = 22pt
-radius = 10.0
-fixed-center = true
-background = ${colors.background}
-foreground = ${colors.foreground}
+[common]
+line-size = 1pt
+enable-ipc = true
+wm-restack = bspwm
+;dpi = 96
font-0 = ${fonts.font0}
font-1 = ${fonts.font1}
font-2 = ${fonts.font2}
@@ -82,148 +74,73 @@ font-5 = ${fonts.font5}
font-6 = ${fonts.font6}
font-7 = ${fonts.font7}
font-8 = ${fonts.font8}
-line-size = 1pt
-enable-ipc = true
-wm-restack = generic
+background = ${colors.background}
+foreground = ${colors.foreground}
+
+
+[bar/top-left]
+monitor = ${env:MONITOR:}
+width = 260px
+offset-x = 0%:+10px
+offset-y = 1%
+height = 22pt
+radius = 10.0
+fixed-center = true
+inherit = common
modules-left = space space menu space bspwm space space
[bar/top-middle-left]
-#monitor = ${env:MONITOR1}
monitor = ${env:MONITOR:}
-#monitor = ${env:MONITOR:HDMI-1}
-width = 220px
-offset-x = 25%
+width = 230px
+offset-x = 33.3333%:-130px
offset-y = 1%
height = 22pt
radius = 10.0
fixed-center = true
-background = ${colors.background}
-foreground = ${colors.foreground}
-font-0 = ${fonts.font0}
-font-1 = ${fonts.font1}
-font-2 = ${fonts.font2}
-font-3 = ${fonts.font3}
-font-4 = ${fonts.font4}
-font-5 = ${fonts.font5}
-font-6 = ${fonts.font6}
-font-7 = ${fonts.font7}
-font-8 = ${fonts.font8}
-line-size = 1pt
-enable-ipc = true
-wm-restack = generic
+inherit = common
modules-center = space space cpu space sep space memory space sep space temperature space space
[bar/top-middle]
-#monitor = ${env:MONITOR1}
monitor = ${env:MONITOR:}
-#monitor = ${env:MONITOR:HDMI-1}
width = 220px
-offset-x = 42%
+offset-x = 50%:-110px
offset-y = 1%
height = 22pt
radius = 10.0
fixed-center = true
-background = ${colors.background}
-foreground = ${colors.foreground}
-line-size = 1pt
+inherit = common
font-0 = "RobotoMono Nerd Font:weight=bold:size=9;2"
font-1 = "RobotoMono Nerd Font:size=10;3"
font-2 = "RobotoMono Nerd Font:size=11;3"
-enable-ipc = true
-wm-restack = generic
modules-center = space space day space sep space date space sep space time space space
[bar/top-middle-right]
-#monitor = ${env:MONITOR1}
monitor = ${env:MONITOR:}
-# Tray
-#tray-position = ${env:TRAY_POSITION:right}
-#monitor = ${env:MONITOR:HDMI-1}
-width = 220px
-offset-x = 59%
+width = 230px
+offset-x = 66.6667%:-100px
offset-y = 1%
height = 22pt
radius = 10.0
fixed-center = true
-background = ${colors.background}
-foreground = ${colors.foreground}
-font-0 = ${fonts.font0}
-font-1 = ${fonts.font1}
-font-2 = ${fonts.font2}
-font-3 = ${fonts.font3}
-font-4 = ${fonts.font4}
-font-5 = ${fonts.font5}
-font-6 = ${fonts.font6}
-font-7 = ${fonts.font7}
-font-8 = ${fonts.font8}
-line-size = 1pt
-enable-ipc = true
-wm-restack = generic
+padding-right = 4
+inherit = common
modules-center = space space wireless-network netspeed space space
[bar/top-right]
-#monitor = ${env:MONITOR1}
monitor = ${env:MONITOR:}
-#monitor = ${env:MONITOR:HDMI-1}
width = 260px
-offset-x = 80%
+offset-x = 100%:-270px
offset-y = 1%
height = 22pt
radius = 10.0
fixed-center = true
-background = ${colors.background}
-foreground = ${colors.foreground}
-font-0 = ${fonts.font0}
-font-1 = ${fonts.font1}
-font-2 = ${fonts.font2}
-font-3 = ${fonts.font3}
-font-4 = ${fonts.font4}
-font-5 = ${fonts.font5}
-font-6 = ${fonts.font6}
-font-7 = ${fonts.font7}
-font-8 = ${fonts.font8}
-line-size = 1pt
padding-left = 2
;padding-right = 2
-enable-ipc = true
-wm-restack = generic
+inherit = common
modules-right = space space mic space sep space volume space sep space backlight space sep space inbox space space systray space space control space space
-;[bar/top-left2]
-;;monitor = ${env:MONITOR2}
-;monitor = ${env:MONITOR:}
-;;monitor = ${env:MONITOR:HDMI-1}
-;width = 15%
-;offset-x = 1%
-;offset-y = 1%
-;height = 22pt
-;radius = 10.0
-;fixed-center = true
-;background = ${colors.background}
-;foreground = ${colors.foreground}
-;font-0 = ${fonts.font0}
-;font-1 = ${fonts.font1}
-;font-2 = ${fonts.font2}
-;font-3 = ${fonts.font3}
-;font-4 = ${fonts.font4}
-;font-5 = ${fonts.font5}
-;font-6 = ${fonts.font6}
-;font-7 = ${fonts.font7}
-;font-8 = ${fonts.font8}
-;line-size = 1pt
-;enable-ipc = true
-;wm-restack = generic
-;modules-center = space space menu space bspwm space space
-
-[module/xworkspaces]
-type = internal/xworkspaces
-label-active = 
-label-active-padding = 1
-label-occupied = 
-label-occupied-padding = 1
-label-empty = 
-label-empty-foreground = ${colors.disabled}
-label-empty-padding = 1
+
+;; Modules
[module/bspwm]
type = internal/bspwm
@@ -233,13 +150,11 @@ format-foreground = ${colors.foreground}
index-sort = true
enable-click = true
reverse-scroll = false
-
label-focused = ●
label-focused-padding = 1
-
label-occupied = "%name%"
+label-occupied-foreground = ${colors.foreground}
label-occupied-padding = 1
-
;label-empty = ○
label-empty="%name%"
label-empty-foreground = ${colors.disabled}
@@ -249,31 +164,19 @@ format-font = 5
[module/xwindow]
type = internal/xwindow
format = <label>
-format-background = ${colors.Mantle}
-format-foreground = ${colors.Lavender}
+format-background = ${colors.background}
+format-foreground = ${colors.foreground}
format-padding = 2
-
label = %title%
label-maxlen = 40
-
label-empty = ~/
label-empty-foreground = ${colors.disabled}
-[module/pulseaudio]
-type = internal/pulseaudio
-format-volume-prefix = " "
-format-volume = <label-volume>
-click-right = pavucontrol
-label-volume = "%percentage%%"
-label-muted = "󰝟 muted"
-label-muted-foreground = ${colors.disabled}
-
[module/volume]
type = internal/pulseaudio
format-volume = <ramp-volume> <label-volume>
format-volume-font = 9
format-volume-padding = 0
-;ramp-volume-foreground = ${colors.foreground}
label-volume = %percentage:2%%
label-volume-padding = 1
;label-muted-foreground = ${colors.foreground}
@@ -298,7 +201,9 @@ content-foreground = ${colors.foreground}
;content-padding = 1
content = 󰮒
;󰧬󰮒󰻨􀍕
-click-left = "dunstctl history-pop"
+;click-left = "dunstctl history-pop"
+;click-left = bash $HOME/.config/eww/scripts/openNotificationCenter.sh
+click-left = notification-center
[module/day]
type = internal/date
@@ -358,13 +263,11 @@ ramp-capacity-6 = 
ramp-capacity-7 = 
ramp-capacity-8 = 
ramp-capacity-9 = 
-
ramp-capacity-0-foreground = ${colors.red}
ramp-capacity-1-foreground = ${colors.red}
ramp-capacity-foreground = ${colors.green}
;ramp-capacity-foreground = ${colors.foreground}
bar-capacity-width = 10
-
animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
@@ -397,7 +300,6 @@ format-padding=0
;format-prefix-foreground=${colors.green}
format-prefix-foreground=${colors.foreground}
format-foreground=${colors.foreground}
-;format-background=${colors.altblend}
label="%percentage%%"
label-foreground=${colors.foreground}
label-font=2
@@ -468,7 +370,8 @@ format-padding = 1
label-padding =
content-background =
format-foreground = ${colors.foreground}
-click-left = $HOME/.scripts/toggle-control &
+click-left = control-center
+;click-left = $HOME/.scripts/toggle-control &
[module/wireless-network]
type = internal/network
@@ -531,7 +434,7 @@ label-disconnected = ""
format-disconnected-prefix = ""
format-connected-prefix = "󰯎"
speed-unit = ""
-label-connected = "%netspeed:6%B/s"
+label-connected = "%netspeed:4%B/s"
[module/upspeed]
type = internal/network
@@ -583,15 +486,15 @@ click-right = $HOME/.scripts/menu_full.sh
type = custom/text
content = 󰐥
;content = 襤
-content-foreground = ${colors.Red}
+content-foreground = ${colors.red}
content-padding = 1
label-margin = 3
click-left = ~/.scripts/sysmenu.sh
[module/systray]
type=custom/ipc
-hook-0=echo " "
-hook-1=echo " "
+hook-0=echo " "
+hook-1=echo " "
click-left=systray
initial=2
format-font=2
@@ -632,8 +535,4 @@ content-foreground = ${colors.disabled}
type = custom/text
content = " "
-[settings]
-screenchange-reload = true
-pseudo-transparency = true
-
; vim:ft=dosini