diff options
author | Tim Keller <tjkeller.xyz> | 2024-10-03 20:01:03 -0500 |
---|---|---|
committer | Tim Keller <tjkeller.xyz> | 2024-10-03 20:01:03 -0500 |
commit | a651a2150aca24d915f7d139f6a8bcce9c6f641b (patch) | |
tree | baeeb41312669a24919aeec8dd13bae618ea5470 /modules/home | |
parent | 9aad420411b703278ac555858dc60f14f8f156bc (diff) | |
download | nixos-a651a2150aca24d915f7d139f6a8bcce9c6f641b.tar.xz nixos-a651a2150aca24d915f7d139f6a8bcce9c6f641b.zip |
fix awesome with luajit and add some more cool stuff
Diffstat (limited to 'modules/home')
-rw-r--r-- | modules/home/default.nix | 1 | ||||
-rw-r--r-- | modules/home/pcmanfm.nix | 6 | ||||
-rw-r--r-- | modules/home/resources/pcmanfm/root.desktop | 11 |
3 files changed, 18 insertions, 0 deletions
diff --git a/modules/home/default.nix b/modules/home/default.nix index e60bbff..a883234 100644 --- a/modules/home/default.nix +++ b/modules/home/default.nix @@ -9,6 +9,7 @@ ./firefox.nix ./git.nix ./initial-home-setup.nix + ./pcmanfm.nix # TODO mk name changeable & doesn't seem to work right now ./theme.nix ]; diff --git a/modules/home/pcmanfm.nix b/modules/home/pcmanfm.nix new file mode 100644 index 0000000..3c70521 --- /dev/null +++ b/modules/home/pcmanfm.nix @@ -0,0 +1,6 @@ +{ + home.file.pcmanfm-root = { + target = ".local/share/file-manager/actions/root.desktop"; + source = ./resources/pcmanfm/root.desktop; + }; +} diff --git a/modules/home/resources/pcmanfm/root.desktop b/modules/home/resources/pcmanfm/root.desktop new file mode 100644 index 0000000..4b4d263 --- /dev/null +++ b/modules/home/resources/pcmanfm/root.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Type=Action +Tooltip=Open Directory As Root +Name=Open Directory As Root +Profiles=profile-zero; +Icon=gtk-dialog-authentication + +[X-Action-Profile profile-zero] +MimeTypes=inode/directory; +Exec=/home/timmy/.local/bin/x11/xsudo /usr/bin/pcmanfm %u +Name=Default profile |