diff options
author | Tim Keller <tjk@tjkeller.xyz> | 2025-09-13 21:02:26 -0500 |
---|---|---|
committer | Tim Keller <tjk@tjkeller.xyz> | 2025-09-13 21:02:26 -0500 |
commit | af1db2d620232d10c95f3778d91a315892dcfba8 (patch) | |
tree | 7b3f2a86ff0cfbb4ae195dd5daccdaf78cd2c898 /pkgs/unclutter-desktop-entry/default.nix | |
parent | 54ee6b503851f51eb8410699ff281111b71d6ea8 (diff) | |
download | nixos-af1db2d620232d10c95f3778d91a315892dcfba8.tar.xz nixos-af1db2d620232d10c95f3778d91a315892dcfba8.zip |
use unclutter-xfixes instead of unclutter and install a desktop entry for unclutter
Diffstat (limited to 'pkgs/unclutter-desktop-entry/default.nix')
-rw-r--r-- | pkgs/unclutter-desktop-entry/default.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/unclutter-desktop-entry/default.nix b/pkgs/unclutter-desktop-entry/default.nix new file mode 100644 index 0000000..c98cbda --- /dev/null +++ b/pkgs/unclutter-desktop-entry/default.nix @@ -0,0 +1,14 @@ +{ pkgs }: + +pkgs.makeDesktopItem { + name = "unclutter"; + desktopName = "Unclutter"; + comment = "Hides mouse pointer while not in use"; + exec = "${pkgs.unclutter-xfixes}/bin/unclutter"; + icon = "input-mouse"; + categories = [ "Utility" ]; + keywords = [ "mouse" "cursor" "hide" "idle" "pointer" ]; + #extraConfig = '' + # NoDisplay=true + #''; +} |