1
Fork 0
mirror of https://github.com/RGBCube/ncc synced 2025-07-27 10:07:44 +00:00

hammerspoon: move to xdg config dir

This commit is contained in:
RGBCube 2025-07-26 04:53:05 +03:00
parent b3af8158a7
commit d8380f6c99
Signed by: RGBCube
SSH key fingerprint: SHA256:CzqbPcfwt+GxFYNnFVCqoN5Itn4YFrshg1TrnACpA5M
2 changed files with 6 additions and 4 deletions

View file

@ -1,5 +1,7 @@
{
system.defaults.CustomSystemPreferences."org.hammerspoon.Hammerspoon".MJConfigFile = "~/.config/hammerspoon/init.lua";
home-manager.sharedModules = [{
home.file.".hammerspoon/init.lua".text = "";
xdg.configFile."hammerspoon/init.lua".text = "";
}];
}

View file

@ -60,7 +60,7 @@ in {
};
home-manager.sharedModules = [{
home.file.".hammerspoon/Spoons/PaperWM.spoon" = {
xdg.configFile."hammerspoon/Spoons/PaperWM.spoon" = {
recursive = true;
source = pkgs.fetchFromGitHub {
@ -71,7 +71,7 @@ in {
};
};
home.file.".hammerspoon/Spoons/Swipe.spoon" = {
xdg.configFile."hammerspoon/Spoons/Swipe.spoon" = {
recursive = true;
source = pkgs.fetchFromGitHub {
@ -82,7 +82,7 @@ in {
};
};
home.file.".hammerspoon/init.lua".text = mkAfter /* lua */ ''
xdg.configFile."hammerspoon/init.lua".text = mkAfter /* lua */ ''
---@type table
_G.hs = _G.hs