mirror of
https://github.com/danth/stylix
synced 2024-11-10 06:34:15 +00:00
hyprland: set cursor theme
Set cursor theme and size in home-manager module via exec-once and hyprctl setcursor.
This commit is contained in:
parent
50cae37cfe
commit
60340a6edf
1 changed files with 4 additions and 0 deletions
|
@ -5,6 +5,7 @@ with config.lib.stylix.colors;
|
|||
let
|
||||
rgb = color: "rgb(${color})";
|
||||
rgba = color: alpha: "rgba(${color}${alpha})";
|
||||
cursorCfg = config.stylix.cursor;
|
||||
|
||||
settings = {
|
||||
decoration."col.shadow" = rgba base00 "99";
|
||||
|
@ -18,6 +19,9 @@ let
|
|||
"col.border_locked_active" = rgb base06;
|
||||
};
|
||||
misc.background_color = rgb base00;
|
||||
exec = [
|
||||
"hyprctl setcursor ${cursorCfg.name} ${builtins.toString cursorCfg.size}"
|
||||
];
|
||||
};
|
||||
|
||||
in {
|
||||
|
|
Loading…
Reference in a new issue