archcraft-openbox/files/scripts/ob-asroot

12 lines
228 B
Bash
Executable File

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