xprofile to xsession
This commit is contained in:
parent
8e74afce6d
commit
5fb52b0e72
|
|
@ -1,18 +1,13 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
# Terminate already running bar instances
|
||||
killall -q polybar
|
||||
|
||||
polybar_proc=$(pgrep -u $UID -x polybar)
|
||||
# Wait until the processes have been shut down
|
||||
while pgrep -x polybar >/dev/null; do sleep 1; done
|
||||
|
||||
# Terminate already running bar instances
|
||||
for i in ${polybar_proc} ; do
|
||||
kill -9 $i
|
||||
done
|
||||
|
||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
|
||||
# Launch bar top & bottom
|
||||
# Launch
|
||||
polybar top &
|
||||
polybar bottom &
|
||||
|
||||
echo "Bars launched..."
|
||||
echo "Bar launched..."
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
#!/bin/sh
|
||||
|
||||
wal -R &
|
||||
xset +fp ~/.local/share/fonts &
|
||||
xset fp rehash &
|
||||
Loading…
Reference in New Issue