From 08fd61cc52376f827bf1567070ddaa14aa9585f7 Mon Sep 17 00:00:00 2001 From: Vidhu Kant Sharma Date: Sat, 6 Sep 2025 15:54:22 +0530 Subject: configured new systray module and monitor's bar --- .config/polybar/bars.ini | 40 +++++++++++++++++----------------------- 1 file changed, 17 insertions(+), 23 deletions(-) (limited to '.config/polybar/bars.ini') diff --git a/.config/polybar/bars.ini b/.config/polybar/bars.ini index d2e4cfa..e945e9a 100644 --- a/.config/polybar/bars.ini +++ b/.config/polybar/bars.ini @@ -1,15 +1,11 @@ [bar/mybar2] -tray-position = right -tray-padding = 2 -tray-background = ${colors.systray-bg} - monitor = ${env:MONITOR:HDMI-0} enable-ipc = true width = 1906 -height = 22 +height = 28 offset-x = 7 offset-y = 6 -radius = 2 +radius = 4 fixed-center = true bottom = 0 @@ -24,23 +20,21 @@ padding-right = 0 module-margin-left = 0 module-margin-right = 0 -font-0 = "Roboto:style=Regular:size=12;2" -font-1 = "Source Han Sans JP:style=Regular:size=11;2" - -modules-left = arrow0 date arrow1 uptime wlan eth storage-root storage-home cpu temperature memory mpd -modules-center = xwindow -modules-right = battery pulseaudio ewmh - override-redirect = false cursor-click = pointer cursor-scroll = ns-resize -[bar/mybar] -tray-position = right -tray-padding = 2 -tray-background = ${colors.systray-bg} +font-0 = "Roboto:style=Regular:size=12;2" +font-1 = "Source Han Sans JP:style=Regular:size=11;2" +font-2 = "Hack Nerd Font:style=Regular:size=11;3" +font-3 = "Hack Nerd Font:style=Regular:size=20;5" +font-4 = "Source Han Sans JP:style=Heavy:size=11;2" # font-1 but bold, make sure to edit accordingly +modules-left = powerline0 date powerline1 wlan eth powerline2 storage-root powerline1 storage-home powerline2 cpu powerline1 temperature powerline2 memory powerline4 xwindow +modules-right = ewmh pulseaudio battery systray + +[bar/mybar] monitor = ${env:MONITOR:eDP-1} monitor-fallback = ${env:MONITOR:eDP-1-1} enable-ipc = true @@ -63,6 +57,11 @@ padding-right = 0 module-margin-left = 0 module-margin-right = 0 +override-redirect = true + +cursor-click = pointer +cursor-scroll = ns-resize + font-0 = "Roboto:style=Regular:size=12;2" font-1 = "Source Han Sans JP:style=Regular:size=11;2" font-2 = "Hack Nerd Font:style=Regular:size=11;3" @@ -70,9 +69,4 @@ font-3 = "Hack Nerd Font:style=Regular:size=20;5" font-4 = "Source Han Sans JP:style=Heavy:size=11;2" # font-1 but bold, make sure to edit accordingly modules-left = powerline0 date powerline1 wlan eth powerline2 storage-root powerline1 storage-home powerline2 cpu powerline1 temperature powerline2 memory powerline1 backlight powerline3 xwindow -modules-right = ewmh pulseaudio battery - -override-redirect = true - -cursor-click = pointer -cursor-scroll = ns-resize +modules-right = ewmh pulseaudio battery systray -- cgit v1.2.3