feat: conky, doas compatibility and dwm startup
This commit is contained in:
parent
f1fdfb2eb2
commit
f002b34b6f
12 changed files with 54 additions and 18 deletions
|
|
@ -31,7 +31,8 @@ function add_opt() {
|
|||
}
|
||||
|
||||
if ! [ -w '/var/run/docker.sock' ] && [ "$EUID" != 0 ]; then
|
||||
exec sudo -- "$0" "$@"
|
||||
command -v sudo > /dev/null && exec sudo -- "$0" "$@"
|
||||
command -v doas > /dev/null && exec doas -- "$0" "$@"
|
||||
fi
|
||||
|
||||
c=1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue