From 1f98f352c43a9057047d30de109be9c2b9157a65 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 19 Nov 2018 09:07:37 +0000 Subject: [PATCH] Replace bottom bar with polybar too --- files/i3.conf | 5 ----- files/launch-polybar.sh | 1 + files/polybar.ini | 21 ++++++++++++--------- tasks/packages.yml | 1 - 4 files changed, 13 insertions(+), 15 deletions(-) diff --git a/files/i3.conf b/files/i3.conf index a824750..620bbb6 100644 --- a/files/i3.conf +++ b/files/i3.conf @@ -125,9 +125,4 @@ exec ssh-agent -Da /tmp/ssh-agent-$USER.sock exec keepassxc exec dunst -bar { - status_command i3status - workspace_buttons no -} - exec_always --no-startup-id {{ home }}/.config/polybar/launch.sh diff --git a/files/launch-polybar.sh b/files/launch-polybar.sh index 74c9452..0e03a53 100644 --- a/files/launch-polybar.sh +++ b/files/launch-polybar.sh @@ -6,4 +6,5 @@ pkill polybar for m in $(polybar --list-monitors | cut -d":" -f1); do MONITOR=$m polybar --reload top & + MONITOR=$m polybar --reload bottom & done diff --git a/files/polybar.ini b/files/polybar.ini index 01f115d..e93b3d7 100644 --- a/files/polybar.ini +++ b/files/polybar.ini @@ -16,26 +16,29 @@ height = 25 fixed-center = true background = ${colors.background} foreground = ${colors.foreground} - -padding-right = 2 - +padding = 2 font-0 = "DejaVu Sans Mono:size=9;2" font-1 = "FontAwesome5FreeSolid:size=8;2" - -modules-left = i3 xwindow +modules-left = xwindow modules-center = date modules-right = player_mpris_tail memory cpu wifi eno1 pulseaudio wattage battery power-menu - module-margin = 2 - wm-restack = i3 - scroll-up = i3wm-wsnext scroll-down = i3wm-wsprev - cursor-click = pointer cursor-scroll = default +[bar/bottom] +inherit = bar/top +bottom = true +modules-left = i3 +modules-center = +tray-position = right +modules-right = +padding = 0 +height = 20 +tray-transparent = true [module/xwindow] type = internal/xwindow diff --git a/tasks/packages.yml b/tasks/packages.yml index ae67c98..a05438d 100644 --- a/tasks/packages.yml +++ b/tasks/packages.yml @@ -111,7 +111,6 @@ - 'hexchat' - 'htop' - 'hugo' - - 'i3status' - 'ibus' - 'ibus-uniemoji' - 'inkscape'