fix: polybar and bspwm config per host
This commit is contained in:
parent
9c3059af6f
commit
743a3f8f26
3 changed files with 334 additions and 334 deletions
|
@ -6,8 +6,14 @@ killall -q polybar
|
|||
# Wait until the processes have been shut down
|
||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
|
||||
# Launch Polybar, using default config location ~/.config/polybar/config
|
||||
polybar primary &
|
||||
polybar secondary &
|
||||
host_name=$(hostname)
|
||||
if [[ $host_name == "portalo" ]]; then
|
||||
polybar portalo-primary &
|
||||
polybar portalo-secondary &
|
||||
elif [[ $host_name == *"laptop"* ]]; then
|
||||
polybar laptop-primary &
|
||||
else
|
||||
polybar laptop-primary & # TODO
|
||||
fi
|
||||
|
||||
echo "Polybar launched..."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue