👉 Replaced pointer with working Catppuccin pointer, start nix-shells in

fish
This commit is contained in:
Martin Berg Alstad 2025-01-18 13:59:09 +01:00
parent 0bfa938db3
commit 29ac28bd15
Signed by: martials
GPG Key ID: 706F53DD087A91DE
48 changed files with 18 additions and 40 deletions

16
home-manager/cursors.nix Normal file
View File

@ -0,0 +1,16 @@
let
theme = import ../theme.nix;
in
{
catppuccin.cursors = {
enable = true;
flavor = theme.flavor;
accent = "dark";
};
home.pointerCursor = {
gtk.enable = true;
x11.enable = true;
size = 16;
};
}

View File

@ -14,6 +14,7 @@ in
inputs.nixvim.homeManagerModules.nixvim
./btop.nix
./cava.nix
./cursors.nix
./default-applications.nix
./development
./fish.nix
@ -29,8 +30,6 @@ in
./yazi
];
catppuccin.cursors.enable = true;
dconf = {
enable = true;
settings = {

View File

@ -4,7 +4,6 @@
{
imports = [
./binds.nix
./hyprcursor
./waybar
./hypridle
./hyprlock

View File

@ -1,37 +0,0 @@
{ pkgs, ... }:
let
cursorSize = 24;
cursorTheme = "rose-pine-hyprcursor";
cursorDir = "hyprcursors";
in
{
# TODO remove in favor of Catppuccin cursors
home = {
packages = with pkgs; [
hyprcursor
];
file = {
".local/share/icons/${cursorTheme}/manifest.hl".text = ''
name = ${cursorTheme}
description = BreezeX remixed with Rose Pine remixed to Hyprcursor format
version = 0.3.2
cursors_directory = ${cursorDir}
'';
".local/share/icons/${cursorTheme}/${cursorDir}" = {
source = ./${cursorDir};
recursive = true;
};
};
sessionVariables = {
XCURSOR_SIZE = cursorSize;
HYPRCURSOR_SIZE = cursorSize;
HYPRCURSOR_THEME = cursorSize;
};
};
wayland.windowManager.hyprland.settings.exec-once = [
"hyprctl setcursor $HYPRCURSOR_THEME $HYPRCURSOR_SIZE" # Set cursor
];
}

View File

@ -24,6 +24,7 @@
shellAliases = {
# Transfer shell config to target device
ssh = "kitty +kitten ssh";
nix-shell = "nix-shell --run fish"; # Start nix-shells using fish
};
};
};