14 lines
390 B
Bash
Executable file
14 lines
390 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
## Copyright (C) 2020-2022 Aditya Shakya <adi1090x@gmail.com>
|
|
## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3
|
|
|
|
# Terminate if picom is already running
|
|
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 ~/.config/bspwm/picom.conf &
|