From 390848ea4c77bdd6228cca96d7254f73f8a51a7d Mon Sep 17 00:00:00 2001 From: srdusr Date: Mon, 1 Jan 2024 23:53:04 +0200 Subject: Changed to have polybar left, middle and right --- .config/polybar/config.ini | 1111 +++++++++++++++++++------------------------- 1 file changed, 479 insertions(+), 632 deletions(-) diff --git a/.config/polybar/config.ini b/.config/polybar/config.ini index 96bce92..1df6428 100644 --- a/.config/polybar/config.ini +++ b/.config/polybar/config.ini @@ -15,19 +15,36 @@ ; The README contains a lot of information ; ;========================================================== - [colors] +disabled = #707880 +Rosewater = #f5e0dc +Flamingo = #f2cdcd +Pink = #f5c2e7 +Mauve = #cba6f7 +Red = #f38ba8 +Maroon = #eba0ac +Peach = #fab387 +Yellow = #f9e2af +Green = #a6e3a1 +Teal = #94e2d5 +Sky = #89dceb +Sapphire = #74c7ec +Blue = #89b4fa +Lavender = #b4befe +Base = #1e1e2e +Mantle = #181825 +foreground = #fafafa +;foreground-alt = #aaCECCC9 +;primary = #aaCECCC9 +;secondary = #aaCECCC9 background = #aa000000 +non = #aaCECCC9 ;background = #aa101212 ;background = #00000000 background-alt = #aaCECCC9 ;foreground = #aaCECCC9 -foreground = #fafafa -foreground-alt = #aaCECCC9 -primary = #aaCECCC9 -secondary = #aaCECCC9 -alert = #aaCECCC9 -non = #aaCECCC9 +;alert = #aaCECCC9 +altblend = #282e49 ;background = #aa000000 blue = #61afef dark_blue = #42A5F5 @@ -47,52 +64,28 @@ indigo = #6C77BB green = #61C766 lime = #B9C244 cyber = #53E2AE +alert = #ff8989 +;disabled = #989898 -[bar/top] -;width = 100% -width = 99.15% -height = 24 +[bar/left] + +width = 25% offset-x = 0.5% -offset-y = 0.5% +offset-y = 1% +height = 22pt radius = 10.0 -;radius = 0 fixed-center = true -bottom = false -enable-ipc = true -tray-position = right -tray-padding = 4 -tray-background = ${colors.background} -;tray-offest-x = -15 -;tray-offset-x = 400 -;tray-offset-x = -95 -;tray-offset-x = -208 -;tray-offset-x = -178 -;tray-offset-x = -183 -;tray-offset-x = -188 -tray-offset-x = -70 -;tray-offset-x = -210 -tray-offset-y = -0.9 -tray-detached = true - -background = ${colors.background} -foreground = ${colors.foreground} - -line-size = 0 -line-color = ${colors.background-alt} - -;border-top-size = 1 -;border-bottom-size = 1 -;border-right-size = 1 -;border-left-size = 1 -;border-color = ${colors.foreground} -;border-size = 2 -;border-color = ${colors.background} - -padding-left = 0 -padding-right = 0 - -module-margin-left = 0 -module-margin-right = 0 + +background = ${colors.Mantle} +foreground = ${colors.Lavender} + +line-size = 1pt + +;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" +;font-3 = "NotoEmoji:scale=11;3" +;font-4 = "Noto Sans CJK JP:size=10;3" ; Font for date font-0 = "SF Pro Mono:style=Display Bold:size=10;2" ; Font for crypto, dunst @@ -105,68 +98,128 @@ font-3 = "SF Pro:style=Medium:size=10.5;2" font-4 = "SF Pro:style=Medium:size=9.5;2" ; Font for bspwm/workspaces font-5 = "UbuntuMono Nerd font:size=11;2" +font-6="Feather:style=Regular:size=15;4" +font-7="Font Awesome 6 Pro Solid:style=Solid:size=14;4" -modules-left = sep menu sep bspwm xwindow -modules-center = calendar date -modules-right = sep dunst search control sep -;modules-right = spotify spotify-prev spotify-play-pause spotify-next long-sep dunst search control date sep +modules-left = space space power bspwm space cpu space sep space memory space sep space temperature space space -;modules-left = sep menu -;modules-center = date -;modules-right = bspwm whitespace crypto dunst search control space +enable-ipc = true -;modules-right = crypto dunst search date sep powermenu sep -;modules-right = crypto toggle_spotify volume backlight battery network notification powermenu +wm-restack = generic -wm-restack = bspwm -;wm-restack = bspwm +[bar/middle] -override-redirect = false +width = 20% +offset-x = 40% +offset-y = 1% +height = 22pt +radius = 10.0 +fixed-center = true -;; scroll-up = bspwm-desknext -;; scroll-down = bspwm-deskprev +background = ${colors.Mantle} +foreground = ${colors.Lavender} -;scroll-up = i3wm-wsnext -;scroll-down = i3wm-wsprev +line-size = 1pt -cursor-click = pointer -cursor-scroll = ns-resize +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" -;[module/date] -;type = internal/date -;interval = 30 -;label = %time% -;label-padding = 2 -;label-background = -;time =  %H:%M -;time-alt =  %Y-%m-%d +modules-center = day space sep space calendar date space sep space time -[module/date] -type = internal/date -interval = 1 -label = %date%, %time% -label-padding = 2.5 -label-background = -date = %a %d %b -time = %H:%M +enable-ipc = true -[module/calendar] -type = custom/text -content = 󰸗 -;content-font = 1 -content-padding = 1 -content-foreground = ${colors.primary} -enable-click = true -click-left = ~/.config/eww/scripts/popup calendar & +wm-restack = generic -[module/menu] -type = custom/text -content = 󰣇 -content-font = 3 -content-padding = 1 -content-foreground = ${colors.foreground} -click-left = ~/.config/polybar/scripts/menu.sh -click-right = ~/.config/polybar/scripts/menu_full.sh +[bar/right] + +width = 25% +offset-x = 74.6% +offset-y = 1% +height = 22pt +radius = 10.0 +fixed-center = true + +background = ${colors.Mantle} +foreground = ${colors.Lavender} + +line-size = 1pt + +;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" +font-0 = "SF Pro Mono:style=Display Bold:size=10;2" +; Font for crypto, dunst +font-1 = "Material Design Icons:style=Bold:size=11.5;2" +; Font for menu +font-2 = "Material Design Icons:style=Bold:size=13.5;2" +; Font for controlCenter +font-3 = "SF Pro:style=Medium:size=10.5;2" +; Font for search +font-4 = "SF Pro:style=Medium:size=9.5;2" +; Font for bspwm/workspaces +font-5 = "UbuntuMono Nerd font:size=11;2" +font-6="Feather:style=Regular:size=15;4" +font-7="Font Awesome 6 Pro Solid:style=Solid:size=14;4" + + +modules-right = space space networkspeeddown space networkspeedup space sep space wlan space eth space sep space volume space sep space backlight space sep space battery dunst space systray space control space space +enable-ipc = true + +wm-restack = generic + +[bar/tray] + +width = 7% +offset-x = 80% +offset-y = 1% +height = 22pt +fixed-center = true + +background = ${colors.Mantle} +foreground = ${colors.Lavender} + +line-size = 1pt + +font-0 = "RobotoMono Nerd Font:size=10;3" + +; modules-center = tray + +modules-center = space + +tray-position = center + +tray-detached = false + +tray-maxsize = 16 + +tray-padding = 4 + +enable-ipc = true + +wm-restack = generic + +[bar/xwindow] + +width = 19% +offset-x = 18% +offset-y = 1% +height = 22pt +fixed-center = true + +background = ${colors.Mantle} +foreground = ${colors.Lavender} + +line-size = 1pt + +font-0 = "RobotoMono Nerd Font:weight=bold:size=10;3" +font-1 = "NotoSans;size=10;3" +font-2 = "NotoEmoji;scale=11;3" + +modules-center = space xwindow space +enable-ipc = true + +wm-restack = generic [module/bspwm] type = internal/bspwm @@ -189,54 +242,154 @@ label-occupied-padding = 2 label-empty =  label-empty-padding = 2 +[module/xworkspaces] +type = internal/xworkspaces -[module/sepp] -type = custom/text -content = " " +label-active =  +label-active-padding = 2 +label-active-foreground = ${colors.Lavender} +label-active-font = 2 + +label-occupied =  +label-occupied-padding = 2 +label-occupied-font = 2 +label-empty =  +label-empty-foreground = ${colors.disabled} +label-empty-padding = 2 +label-empty-font = 2 -[module/close] -type = custom/text -content-foreground = ${colors.red} -content-padding = 1 -content =  -click-left = "xdotool getwindowfocus windowkill" +[module/xwindow] + +type = internal/xwindow +format =