From 34193ba83a2ee26d633ea88e0691e3fc13a11fc4 Mon Sep 17 00:00:00 2001 From: Adam <56338480+adastx@users.noreply.github.com> Date: Wed, 4 Aug 2021 22:20:45 +0200 Subject: Polybar kinda working --- .config/i3/config | 6 ------ .config/polybar/config | 3 +-- .config/polybar/launch.sh | 5 ++--- .xinitrc | 1 + 4 files changed, 4 insertions(+), 11 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 344bd93..9002c2e 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -110,12 +110,6 @@ mode "Resize Mode" { } bindsym $mod+r mode "Resize Mode" -# Start i3bar to display a workspace bar (plus the system information i3status -# finds out, if available) -bar { - status_command i3status -} - ##### Appearance diff --git a/.config/polybar/config b/.config/polybar/config index 67fe125..1966ccd 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -3,7 +3,7 @@ ;background = #10152c ;background = #080f1f background = #090809 -background-alt = #1b2f60 +background-alt = #46008c ;foreground = ${xrdb:color7:#222} foreground = #dfdfdf foreground-alt = #254183 @@ -14,7 +14,6 @@ alert = #bd2c40 [bar/bar1] -monitor = DP-2 width = 100% height = 25 ;offset-x = 1% diff --git a/.config/polybar/launch.sh b/.config/polybar/launch.sh index 5f19326..b754d08 100755 --- a/.config/polybar/launch.sh +++ b/.config/polybar/launch.sh @@ -5,9 +5,8 @@ killall -q polybar # If all your bars have ipc enabled, you can also use # polybar-msg cmd quit -# Launch bar1 and bar2 +# Launch bar1 echo "---" | tee -a /tmp/polybar1.log /tmp/polybar2.log polybar bar1 2>&1 | tee -a /tmp/polybar1.log & disown -polybar bar2 2>&1 | tee -a /tmp/polybar2.log & disown -echo "Bars launched..." \ No newline at end of file +echo "Bars launched..." diff --git a/.xinitrc b/.xinitrc index ea8b020..0cbef24 100644 --- a/.xinitrc +++ b/.xinitrc @@ -50,5 +50,6 @@ fi nitrogen --restore & greenclip daemon & +polybar bar1 & picom & exec i3 -- cgit v1.2.3-70-g09d2