dotfiles/.config/scripts/polkitkdeauth.sh
2026-04-25 16:39:11 +05:30

10 lines
233 B
Bash
Executable file

#!/usr/bin/env sh
# Use different directory on NixOS
if [ -d /run/current-system/sw/libexec ]; then
libDir=/run/current-system/sw/libexec
else
libDir=/usr/lib
fi
${libDir}/polkit-gnome/polkit-gnome-authentication-agent-1 &