mirror of https://github.com/E-Almqvist/ewm
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
479 B
26 lines
479 B
2 years ago
|
#!/bin/sh
|
||
|
|
||
|
# Run user configured autostart
|
||
|
$HOME/.ewm/autostart.sh &
|
||
|
|
||
|
# Compositor (picom)
|
||
|
# Terminate already running picom instances
|
||
|
killall -q picom
|
||
|
|
||
|
# Wait until the processes have been shut down
|
||
|
while pgrep -u $UID -x picom >/dev/null; do sleep 1; done
|
||
|
|
||
|
# Launch picom
|
||
|
picom --config $HOME/.config/picom/picom.conf --experimental-backends --xrender-sync-fence &
|
||
|
|
||
|
# Background (nitrogen)
|
||
|
nitrogen --restore &
|
||
|
|
||
|
# Loop
|
||
|
while true; do
|
||
|
ewm > /dev/null 2>&1
|
||
|
done
|
||
|
|
||
|
# WM
|
||
|
exec ewm
|