mirror of
https://github.com/danth/stylix
synced 2025-02-16 13:28:35 +00:00
Apply cursor theme to KDE ✨
This commit is contained in:
parent
ecbbe933a9
commit
96f0794dbd
1 changed files with 8 additions and 1 deletions
|
@ -109,6 +109,12 @@ let
|
|||
ToolbarIcons = icons;
|
||||
};
|
||||
|
||||
kcminputrc = ''
|
||||
[Mouse]
|
||||
cursorSize[$i]=${toString config.stylix.cursor.size}
|
||||
cursorTheme[$i]=${config.stylix.cursor.name}
|
||||
'';
|
||||
|
||||
kscreenlockerrc = ''
|
||||
[Greeter][Wallpaper][org.kde.image][General][$i]
|
||||
Image=${config.stylix.image}
|
||||
|
@ -117,11 +123,12 @@ let
|
|||
configDir = pkgs.runCommandLocal "stylix-kde"
|
||||
{
|
||||
kdeglobals = (pkgs.formats.ini {}).generate "kdeglobals" kdeglobals;
|
||||
inherit kscreenlockerrc;
|
||||
inherit kcminputrc kscreenlockerrc;
|
||||
}
|
||||
''
|
||||
mkdir $out
|
||||
cp $kdeglobals $out/kdeglobals
|
||||
echo "$kcminputrc" >$out/kcminputrc
|
||||
echo "$kscreenlockerrc" >$out/kscreenlockerrc
|
||||
'';
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue