2023-11-22 15:33:16 -05:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: let
|
2023-10-28 18:20:09 -04:00
|
|
|
configDir = config.services.device-vars.configDir;
|
2023-10-03 11:08:56 -04:00
|
|
|
symlink = config.lib.file.mkOutOfStoreSymlink;
|
2023-11-22 15:33:16 -05:00
|
|
|
in {
|
2023-11-30 17:17:34 -05:00
|
|
|
wayland.windowManager.hyprland = {
|
|
|
|
settings = {
|
|
|
|
env = [
|
|
|
|
"AGS_PATH, ${configDir}/ags/bin"
|
|
|
|
"HYPR_PATH, ${configDir}/hypr/scripts"
|
|
|
|
"LOCK_PATH, ${configDir}/gtklock/scripts"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-07-05 21:57:17 -04:00
|
|
|
xdg.configFile = {
|
2023-11-22 15:33:16 -05:00
|
|
|
"gtklock/config.ini".source = pkgs.writeText "config.ini" ''
|
2023-10-03 11:08:56 -04:00
|
|
|
[main]
|
|
|
|
modules=${builtins.concatStringsSep ";" [
|
|
|
|
"${pkgs.gtklock-powerbar-module}/lib/gtklock/powerbar-module.so"
|
|
|
|
"${pkgs.gtklock-playerctl-module}/lib/gtklock/playerctl-module.so"
|
|
|
|
]}
|
2023-11-22 15:33:16 -05:00
|
|
|
'';
|
|
|
|
"gtklock/style.css".source = symlink "${configDir}/gtklock/style.css";
|
2023-08-27 10:31:41 -04:00
|
|
|
|
2023-11-22 15:33:16 -05:00
|
|
|
"dolphinrc".source = symlink "${configDir}/dolphinrc";
|
|
|
|
"kdeglobals".source = symlink "${configDir}/kdeglobals";
|
|
|
|
"kiorc".source = symlink "${configDir}/kiorc";
|
|
|
|
"mimeapps.list".source = symlink "${configDir}/mimeapps.list";
|
|
|
|
"neofetch".source = symlink "${configDir}/neofetch";
|
|
|
|
"swappy".source = symlink "${configDir}/swappy";
|
2023-07-05 21:57:17 -04:00
|
|
|
};
|
2023-06-27 10:13:14 -04:00
|
|
|
}
|