hyprdots/Configs/.local/share/bin/polkitkdeauth.sh
2024-12-10 23:54:56 +01:00

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 &