From 977042259945ec24773006b54124df9f5f1dcf07 Mon Sep 17 00:00:00 2001 From: Quentin Duchemin Date: Mon, 13 Nov 2023 17:03:13 +0100 Subject: [PATCH] Adjust bar for desktop --- .config/polybar/config.d/desk | 11 ++++++----- .config/polybar/config.d/laptop | 2 +- .config/polybar/config_common | 3 +++ 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/.config/polybar/config.d/desk b/.config/polybar/config.d/desk index 4b7af51..45cc39d 100644 --- a/.config/polybar/config.d/desk +++ b/.config/polybar/config.d/desk @@ -1,11 +1,12 @@ [variables] -dpi = 100 +dpi = 90 height = 30 -top_left = powermenu system-uptime-pretty player-mpris -top_center = xwindow +top_left = powermenu system-uptime-pretty +top_center = player-mpris +;top_center = xwindow top_right = system-usb-udev alsa date bottom_left = i3 -bottom_center = wired-network wireless-network updates-arch-combined +bottom_center = updates-arch-combined wireless-network bottom_right = temperature cpu memory filesystem-custom [module/memory] @@ -28,4 +29,4 @@ bar-used-fill =▐ bar-used-fill-font = 2 bar-used-empty =▐ bar-used-empty-font = 2 -bar-used-empty-foreground = #444444 \ No newline at end of file +bar-used-empty-foreground = #444444 diff --git a/.config/polybar/config.d/laptop b/.config/polybar/config.d/laptop index 9579e2c..f9c9e7a 100644 --- a/.config/polybar/config.d/laptop +++ b/.config/polybar/config.d/laptop @@ -6,7 +6,7 @@ top_center = player-mpris ;top_center = xwindow top_right = system-usb-udev backlight pulseaudio date bottom_left = i3 -bottom_center = wireless-network updates-arch-combined +bottom_center = updates-arch-combined wireless-network bottom_right = temperature cpu memory filesystem-custom [module/memory] diff --git a/.config/polybar/config_common b/.config/polybar/config_common index 6e31397..a31347f 100644 --- a/.config/polybar/config_common +++ b/.config/polybar/config_common @@ -91,6 +91,9 @@ interval = 1 label-connected = %{F#ddd}%essid%  %local_ip% %{F#77dd77}%{F-} %downspeed% %{F#dd7777}%{F-} %upspeed% label-disconnected = Wireless disconnected label-disconnected-foreground = #66 +; Poorly documented and hackish way to have more space between some modules +label-connected-margin = 10 +label-disconnected-margin = 10 [module/wired-network] type = internal/network