setup cursor correctly

This commit is contained in:
Leonardo Eugênio 2022-08-07 22:00:01 -03:00
parent 384cb9064d
commit b33440435a
2 changed files with 5 additions and 2 deletions

View file

@ -296,9 +296,8 @@ in {
}; };
home.pointerCursor = { home.pointerCursor = {
name = "capitaine-cursors"; name = "capitaine-cursors";
size = 32;
package = pkgs.capitaine-cursors; package = pkgs.capitaine-cursors;
x11.enable = true;
gtk.enable = true;
}; };
gtk = { gtk = {
enable = true; enable = true;

View file

@ -71,6 +71,10 @@ in {
repeat_rate = "30"; repeat_rate = "30";
repeat_delay = "200"; repeat_delay = "200";
}; };
# setup cursor based on home.pointerCursor
seat."*" = {
xcursor_theme = "${config.home.pointerCursor.name} ${toString config.home.pointerCursor.size}";
};
assigns = { assigns = {
"10" = [ "10" = [
{ app_id = ".*[Tt]elegram.*"; } { app_id = ".*[Tt]elegram.*"; }