Clean up configs, remove bashrc conflicting with bash
This commit is contained in:
15
home/bin/start-compton
Executable file
15
home/bin/start-compton
Executable file
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
start="al-compositor --start"
|
||||
restart="al-compositor --restart"
|
||||
|
||||
|
||||
if [ -e "${HOME}/.config/.composite_enabled" ]; then
|
||||
|
||||
if pgrep compton; then
|
||||
$restart
|
||||
else
|
||||
$start
|
||||
fi
|
||||
|
||||
fi
|
Reference in New Issue
Block a user