Add ac-adaptive and ac-i3
This commit is contained in:
15
ac-i3/scripts/i3_comp
Executable file
15
ac-i3/scripts/i3_comp
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
## Copyright (C) 2020-2024 Aditya Shakya <adi1090x@gmail.com>
|
||||
|
||||
# i3 directory
|
||||
DIR="$HOME/.config/polybar/ac-i3"
|
||||
|
||||
# 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 "$DIR"/picom.conf &
|
||||
Reference in New Issue
Block a user