refactor: move hyprland cursor theme to home-manager
This commit is contained in:
parent
49088f3cbe
commit
aadc482c2f
2 changed files with 17 additions and 14 deletions
|
|
@ -1,8 +1,21 @@
|
|||
{ pkgs, lib, ... }:
|
||||
{ pkgs, lib, macos-hyprcursor-src, ... }:
|
||||
let
|
||||
scripts = ./scripts;
|
||||
shell = "quickshell";
|
||||
|
||||
# Cursor Theme
|
||||
macos-hyprcursor = pkgs.stdenv.mkDerivation {
|
||||
name = "macos-hyprcursor";
|
||||
src = macos-hyprcursor-src;
|
||||
installPhase = ''
|
||||
mkdir -p $out/share/icons
|
||||
cp -R themes/SVG/"macOS (SVG)" $out/share/icons/macos
|
||||
'';
|
||||
};
|
||||
in {
|
||||
|
||||
home.packages = [ macos-hyprcursor ];
|
||||
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
systemd.enable = true;
|
||||
|
|
@ -16,7 +29,7 @@ in {
|
|||
|
||||
env = [
|
||||
"HYPRCURSOR_THEME,macos"
|
||||
"HYPRCURSOR_SIZE,12"
|
||||
"HYPRCURSOR_SIZE,24"
|
||||
];
|
||||
|
||||
general = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue