archcraft-openbox/files/scripts/ob-asroot

12 lines
228 B
Plaintext
Raw Permalink Normal View History

2023-10-05 10:09:04 +00:00
#!/usr/bin/env bash
## Copyright (C) 2020-2024 Aditya Shakya <adi1090x@gmail.com>
2023-10-05 10:09:04 +00:00
DIR="$HOME/.config/openbox"
## rofi sudo askpass helper
export SUDO_ASKPASS="$DIR"/scripts/rofi-askpass
## execute the application
sudo -A $1