additional work to setup hyprland

This commit is contained in:
2026-08-14 21:27:58 -06:00
parent 2b7b18c66d
commit 6e1ed76eed
13 changed files with 149 additions and 20 deletions
+14
View File
@@ -0,0 +1,14 @@
#!/usr/bin/env bash
# sudo-askpass: GUI password prompt for sudo via $SUDO_ASKPASS.
#
# sudo calls the program pointed to by $SUDO_ASKPASS when it cannot prompt on a
# terminal (or with `sudo -A`) and reads the password from its stdout. zenity's
# --password dialog does exactly that. If the dialog is cancelled or times out
# zenity exits non-zero and sudo aborts.
set -uo pipefail
exec zenity --title="sudo authentication" \
--password \
--text="Enter password for $(id -un):" \
--timeout=120 2>/dev/null