tarch-configs/configs/bspwm/bin/apps_as_root
Andrey Zimin 1b1b70daed add nvim
2024-03-10 13:30:59 +03:00

8 lines
397 B
Bash
Executable File
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/usr/bin/env bash
# запуск программ от рута. например в thunar run as root
# SUDO_ASKPASS сообщает sudo, какую программу использовать, когда ей необходимо запросить пароль без взаимодействия с пользователем.
export SUDO_ASKPASS=~/.config/bspwm/bin/askpass
sudo -A $1