swaydots

my dotfiles
git clone https://git.awy.one/swaydots.git
Log | Files | Refs | README | LICENSE

commit e9278b23bf259727e150f307b66aeb661e4cc294
parent 1e821cd593017b9f749cc278ca0ca7e23734f003
Author: awy <awy@awy.one>
Date:   Tue, 13 May 2025 16:48:13 +0300

fix

Diffstat:
Mrice.sh | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/rice.sh b/rice.sh @@ -8,15 +8,15 @@ if [ "$(id -u)" -ne 0 ] fi if [ -x "$(command -v doas)" ]; then + PERMUSER=$DOAS_USER evalcommand="doas -u $PERMUSER" cp /etc/doas.conf /etc/doas.bak echo "permit nopass :wheel" > /etc/doas.conf - PERMUSER=$DOAS_USER else + PERMUSER=$SUDO_USER evalcommand="sudo -u $PERMUSER" echo "%wheel ALL=(ALL) NOPASSWD: ALL Defaults:%wheel,root runcwd=*" >/etc/sudoers.d/temp - PERMUSER=$SUDO_USER fi run_as_user() {