add mouse cursor

This commit is contained in:
Noa Aarts 2024-03-01 19:13:36 +01:00
parent 7fce13f5c2
commit 737f3b9dfd
2 changed files with 32 additions and 1 deletions

View file

@ -38,7 +38,7 @@
mtr
firefox
steam
dconf
pipewire
@ -91,6 +91,12 @@
createDirectories = true;
};
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
configPackages = [ pkgs.hyprland ];
};
dconf = {
enable = true;
settings = {
@ -102,4 +108,26 @@
# Let Home Manager install and manage itself.
programs.home-manager.enable = true;
home.pointerCursor =
let
getFrom = url: hash: name: {
gtk.enable = true;
x11.enable = true;
name = name;
size = 48;
package =
pkgs.runCommand "moveUp" {} ''
mkdir -p $out/share/icons
ln -s ${pkgs.fetchzip {
url = url;
hash = hash;
}} $out/share/icons/${name}
'';
};
in
getFrom
"https://github.com/ful1e5/fuchsia-cursor/releases/download/v2.0.0/Fuchsia-Pop.tar.gz"
"sha256-BvVE9qupMjw7JRqFUj1J0a4ys6kc9fOLBPx2bGaapTk="
"Fuchsia-Pop";
}