archcraft-openbox/files/rofi/bin/apps_as_root

11 lines
295 B
Bash
Executable File

#!/usr/bin/env bash
## Copyright (C) 2020-2021 Aditya Shakya <adi1090x@gmail.com>
## Everyone is permitted to copy and distribute copies of this file under GNU-GPL3
## rofi sudo askpass helper
export SUDO_ASKPASS="$HOME"/.config/openbox/rofi/bin/askpass
## execute the application
sudo -A $1