fix: cursor not showing in SDDM
This commit is contained in:
@@ -1,7 +1,36 @@
|
||||
{
|
||||
flake.modules.nixos.theme =
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
cursorTheme = {
|
||||
name = "phinger-cursors-light";
|
||||
package = pkgs.phinger-cursors;
|
||||
size = 24;
|
||||
};
|
||||
in
|
||||
{
|
||||
environment.systemPackages = [ cursorTheme.package ];
|
||||
|
||||
services.displayManager.sddm.settings = {
|
||||
Theme = {
|
||||
CursorTheme = cursorTheme.name;
|
||||
CursorSize = cursorTheme.size;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
flake.modules.homeManager.theme =
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
cursorTheme = {
|
||||
name = "phinger-cursors-light";
|
||||
package = pkgs.phinger-cursors;
|
||||
size = 24;
|
||||
};
|
||||
|
||||
kanagawaThemeSrc = pkgs.fetchFromGitHub {
|
||||
owner = "Fausto-Korpsvart";
|
||||
repo = "Kanagawa-GKT-Theme";
|
||||
@@ -16,9 +45,11 @@
|
||||
in
|
||||
{
|
||||
home.pointerCursor = {
|
||||
name = "phinger-cursors-light";
|
||||
package = pkgs.phinger-cursors;
|
||||
size = 24;
|
||||
inherit (cursorTheme)
|
||||
name
|
||||
package
|
||||
size
|
||||
;
|
||||
gtk.enable = true;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user