Hyprland dotfiles
| 1 | #!/bin/bash |
| 2 | # /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## |
| 3 | # For NixOS starting of polkit-gnome. Dec 2023, the settings stated in NixOS wiki does not work so have to manual start it |
| 4 | |
| 5 | # Find all polkit-gnome executables in the Nix store |
| 6 | polkit_gnome_paths= |
| 7 | |
| 8 | for; do |
| 9 | # Extract the directory containing the executable |
| 10 | polkit_gnome_dir= |
| 11 | |
| 12 | # Check if the executable is valid and exists |
| 13 | if [; then |
| 14 | # Start the Polkit-GNOME Authentication Agent |
| 15 | & |
| 16 | |
| 17 | fi |
| 18 | done |
| 19 | |
| 20 | # If no valid executable is found, report an error |
| 21 |