fix cursor

This commit is contained in:
Sakooooo 2024-11-29 07:21:16 +04:00
parent 213dafedb7
commit a1495dd999
Signed by: sako
GPG key ID: 3FD715D87D7725E0
4 changed files with 119 additions and 7 deletions

View file

@ -41,11 +41,13 @@ exec-once = sleep 2; nextcloud --background
# source = ~/.config/hypr/myColors.conf # source = ~/.config/hypr/myColors.conf
# Some default env vars. # Some default env vars.
env = XCURSOR_SIZE,20 env = XCURSOR_SIZE,24
env = XCURSOR_THEME,Catppuccin Mocha Dark #env = XCURSOR_THEME,Catppuccin Mocha Dark
env = HYPRCURSOR_SIZE,20 env = XCURSOR_THEME,BreezeX-RosePine-Linux
env = HYPRCURSOR_SIZE,24
# Hyer cursor # Hyer cursor
env = HYPRCURSOR_THEME,catppuccin-mocha-dark-cursors #env = HYPRCURSOR_THEME,catppuccin-mocha-dark-cursors
env = HYPRCURSOR_THEME,rose-pine-hyprcursor
# Nvidia Environment Vars # Nvidia Environment Vars
env = LIBVA_DRIVER_NAME,nvidia env = LIBVA_DRIVER_NAME,nvidia

View file

@ -415,6 +415,28 @@
"type": "github" "type": "github"
} }
}, },
"hyprlang_3": {
"inputs": {
"nixpkgs": [
"rose-pine-hyprcursor",
"nixpkgs"
],
"systems": "systems_5"
},
"locked": {
"lastModified": 1709914708,
"narHash": "sha256-bR4o3mynoTa1Wi4ZTjbnsZ6iqVcPGriXp56bZh5UFTk=",
"owner": "hyprwm",
"repo": "hyprlang",
"rev": "a685493fdbeec01ca8ccdf1f3655c044a8ce2fe2",
"type": "github"
},
"original": {
"owner": "hyprwm",
"repo": "hyprlang",
"type": "github"
}
},
"hyprpaper": { "hyprpaper": {
"inputs": { "inputs": {
"hyprlang": "hyprlang_2", "hyprlang": "hyprlang_2",
@ -665,6 +687,22 @@
"type": "github" "type": "github"
} }
}, },
"nixpkgs_5": {
"locked": {
"lastModified": 1710272261,
"narHash": "sha256-g0bDwXFmTE7uGDOs9HcJsfLFhH7fOsASbAuOzDC+fhQ=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "0ad13a6833440b8e238947e47bea7f11071dc2b2",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"pre-commit-hooks": { "pre-commit-hooks": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_2", "flake-compat": "flake-compat_2",
@ -700,9 +738,30 @@
"hyprpaper": "hyprpaper", "hyprpaper": "hyprpaper",
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_4",
"nixpkgs-stable": "nixpkgs-stable_3", "nixpkgs-stable": "nixpkgs-stable_3",
"rose-pine-hyprcursor": "rose-pine-hyprcursor",
"sops-nix": "sops-nix" "sops-nix": "sops-nix"
} }
}, },
"rose-pine-hyprcursor": {
"inputs": {
"hyprlang": "hyprlang_3",
"nixpkgs": "nixpkgs_5",
"utils": "utils"
},
"locked": {
"lastModified": 1718180692,
"narHash": "sha256-J5IYvKcdGRL/sBuST5WaoESEIl7KPv8aJK8aLY6C91E=",
"owner": "ndom91",
"repo": "rose-pine-hyprcursor",
"rev": "40ce26cb29206722ff73839ead0d871d94751e90",
"type": "github"
},
"original": {
"owner": "ndom91",
"repo": "rose-pine-hyprcursor",
"type": "github"
}
},
"sops-nix": { "sops-nix": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -784,6 +843,54 @@
"type": "github" "type": "github"
} }
}, },
"systems_5": {
"locked": {
"lastModified": 1689347949,
"narHash": "sha256-12tWmuL2zgBgZkdoB6qXZsgJEH9LR3oUgpaQq2RbI80=",
"owner": "nix-systems",
"repo": "default-linux",
"rev": "31732fcf5e8fea42e59c2488ad31a0e651500f68",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default-linux",
"type": "github"
}
},
"systems_6": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"utils": {
"inputs": {
"systems": "systems_6"
},
"locked": {
"lastModified": 1710146030,
"narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"xdph": { "xdph": {
"inputs": { "inputs": {
"hyprland-protocols": [ "hyprland-protocols": [

View file

@ -33,6 +33,7 @@
}; };
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1"; hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
hyprpaper.url = "github:hyprwm/hyprpaper"; hyprpaper.url = "github:hyprwm/hyprpaper";
rose-pine-hyprcursor.url = "github:ndom91/rose-pine-hyprcursor";
}; };
outputs = { self, nixpkgs, home-manager, NixOS-WSL, agenix, emacs-overlay outputs = { self, nixpkgs, home-manager, NixOS-WSL, agenix, emacs-overlay

View file

@ -74,6 +74,8 @@ in {
# brightness # brightness
# TODO(sako):: find one for wayland # TODO(sako):: find one for wayland
catppuccin-cursors.mochaDark catppuccin-cursors.mochaDark
inputs.rose-pine-hyprcursor.packages.${pkgs.system}.default
rose-pine-cursor
# screenshot # screenshot
sway-contrib.grimshot sway-contrib.grimshot
# todo figure this out # todo figure this out
@ -129,10 +131,10 @@ in {
home-manager.users.sako = { pkgs, ... }: { home-manager.users.sako = { pkgs, ... }: {
home.pointerCursor = { home.pointerCursor = {
# name = "Catppuccin-Mocha-Dark"; # name = "Catppuccin-Mocha-Dark";
name = "catppuccin-mocha-dark-cursors"; name = "BreezeX-RosePine-Linux";
size = 16; size = 24;
gtk.enable = true; gtk.enable = true;
package = pkgs.catppuccin-cursors.mochaDark; package = pkgs.rose-pine-cursor;
}; };
gtk = { gtk = {
enable = true; enable = true;