desktop->shared

This commit is contained in:
Daniel Bauer
2020-02-20 10:32:33 +01:00
parent f73d80c03f
commit 683a113df7
44 changed files with 470 additions and 62 deletions

View File

@@ -0,0 +1,17 @@
include-file = ~/.config/polybar/config.d/colors
include-file = ~/.config/polybar/config.d/settings
include-file = ~/.config/polybar/config.d/modules
include-file = ~/.config/polybar/config.d/base_bar
[bar/laptop]
inherit = bar/base
monitor = ${env:MONITOR:eDP-1}
modules-left = i3 xwindow
modules-right = previous playpause next spotify volume cpu memory battery1 date
[bar/laptop_extern]
inherit = bar/laptop
monitor = ${env:MONITOR:HDMI-2}

View File

@@ -0,0 +1,12 @@
#!/bin/bash
killall -q polybar
# Wait until the processes have been shut down
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch bar1 and bar2
polybar -c ~/.config/polybar/config laptop &
polybar -c ~/.config/polybar/config laptop_extern &
echo "Bars launched..."