modules/home/desktop/niri/default.nix: redo variables
Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
@ -8,7 +8,8 @@
|
||||
cfg = config.desktop.niri;
|
||||
inherit (osConfig.networking) hostId;
|
||||
inherit (config.lib.stylix) colors;
|
||||
cursor_size = config.stylix.cursor.size;
|
||||
cursorSize = config.stylix.cursor.size;
|
||||
cursorName = config.stylix.cursor.name;
|
||||
keyboard =
|
||||
if hostId == "eldrid"
|
||||
then "chromeos"
|
||||
@ -425,8 +426,8 @@ in {
|
||||
}
|
||||
|
||||
cursor {
|
||||
xcursor-theme "${config.stylix.cursor.name}"
|
||||
xcursor-size ${toString cursor_size}
|
||||
xcursor-theme "${cursorName}"
|
||||
xcursor-size ${toString cursorSize}
|
||||
}
|
||||
|
||||
layout {
|
||||
|
Reference in New Issue
Block a user