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

@ -13,6 +13,9 @@
# I always want these with hyprland anyways # I always want these with hyprland anyways
dunst dunst
wl-clipboard wl-clipboard
slurp
grim
]; ];
wayland.windowManager.hyprland = { wayland.windowManager.hyprland = {
enable = true; enable = true;

View file

@ -38,7 +38,7 @@
mtr mtr
firefox firefox
steam
dconf dconf
pipewire pipewire
@ -91,6 +91,12 @@
createDirectories = true; createDirectories = true;
}; };
xdg.portal = {
enable = true;
extraPortals = [ pkgs.xdg-desktop-portal-hyprland ];
configPackages = [ pkgs.hyprland ];
};
dconf = { dconf = {
enable = true; enable = true;
settings = { settings = {
@ -102,4 +108,26 @@
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.
programs.home-manager.enable = true; 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";
} }