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 | |
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')
-rw-r--r-- | pkgs/default.nix | 1 | ||||
-rw-r--r-- | pkgs/unclutter-desktop-entry/default.nix | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/pkgs/default.nix b/pkgs/default.nix index 1c0ed23..3a268ec 100644 --- a/pkgs/default.nix +++ b/pkgs/default.nix @@ -4,6 +4,7 @@ crazydiskinfo = (callPackage ./crazydiskinfo {}); lowbat = (callPackage ./lowbat {}); workcentre-7800-series = (callPackage ./xerox-workcentre-7800-series-driver {}); + unclutter-desktop-entry = (callPackage ./unclutter-desktop-entry {}); # Use my vimv-rs until pr gets merged vimv-rs = prev.vimv-rs.overrideAttrs (oldAttrs: { 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 + #''; +} |