Compare commits

...

6 Commits

Author SHA1 Message Date
35645a3e9c fixed launch option comment 2025-11-06 23:29:40 -06:00
67002a94dd finally figured out the cursors, needed to use the setcursor commadn in hyprctl 2025-11-06 23:11:37 -06:00
6beb28477f add hypr specific? 2025-11-06 22:42:07 -06:00
dc03836ac0 with the right name this time 2025-11-06 22:40:12 -06:00
646ba6d63f try w/o pointer cursor just vars 2025-11-06 22:39:19 -06:00
e34b5161d4 this is the one, add the links 2025-11-06 22:38:15 -06:00
3 changed files with 27 additions and 16 deletions

View File

@@ -13,7 +13,7 @@ in {
config = lib.mkIf cfg.enable {
programs.steam = {
enable = true;
gamescopeSession.enable = true; # requires setting launch option `gamescope %command%`
gamescopeSession.enable = true; # requires setting launch option `gamescope <options> -- %command%`
remotePlay.openFirewall = true; # open ports for remote play
#dedicatedServer.openFirewall = true; # open ports for source dedicated server
};

View File

@@ -12,7 +12,14 @@ in {
enable = lib.mkEnableOption "enables ${program}";
cursor = lib.mkOption {
type = lib.types.str;
default = "Posy_Cursor_Black";
#default = "Posy_Cursor_Black";
default = "posy_dark";
description = "cursor to use";
};
cursor_hypr = lib.mkOption {
type = lib.types.str;
#default = "Posy_Cursor_Black";
default = "posy_dark_hypr";
description = "cursor to use";
};
size = lib.mkOption {
@@ -24,31 +31,31 @@ in {
};
config = lib.mkIf cfg.enable {
# shelving for now lmao
# xdg.dataFile."icons/posy_dark" = {
# shelving for now lmao, the home grown way
# xdg.dataFile."icons/${cfg.cursor}" = {
# #config.lib.file.mkOutOfStoreSymlink
# source = "${home_dir}/.nix/users/blake/assets/icons/cursors/posy_dark";
# source = config.lib.file.mkOutOfStoreSymlink "${home_dir}/.nix/users/blake/assets/icons/cursors/${cfg.cursor}";
# recursive = true;
# };
# xdg.dataFile."icons/posy_dark_hypr" = {
# source = "${home_dir}/.nix/users/blake/assets/icons/cursors/posy_dark_hypr";
# xdg.dataFile."icons/${cfg.cursor_hypr}" = {
# source = config.lib.file.mkOutOfStoreSymlink "${home_dir}/.nix/users/blake/assets/icons/cursors/${cfg.cursor_hypr}";
# recursive = true;
# };
home.sessionVariables = {
XCURSOR_SIZE = cfg.size;
XCURSOR_THEME = cfg.cursor;
HYPRCURSOR_SIZE = cfg.size;
HYPRCURSOR_THEME = cfg.cursor;
};
#
# home.sessionVariables = {
# HYPRCURSOR_SIZE = cfg.size;
# HYPRCURSOR_THEME = cfg.cursor_hypr;
# XCURSOR_SIZE = cfg.size;
# XCURSOR_THEME = cfg.cursor;
# };
home.pointerCursor = {
dotIcons.enable = false;
enable = true;
gtk.enable = true;
x11.enable = true;
#x11.enable = true;
package = pkgs.posy-cursors;
name = cfg.cursor;
name = "Posy_Cursor_Black";
size = 64;
hyprcursor = {
enable = true;

View File

@@ -38,6 +38,10 @@ in {
"XDG_SESSION_DESKTOP,Hyprland"
];
exec-once = [
"hyprctl setcursor ${config.home.pointerCursor.name} ${toString config.home.pointerCursor.size}"
];
# --- input ---
input = {
kb_layout = "us";