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:
parent
b3af8158a7
commit
d8380f6c99
2 changed files with 6 additions and 4 deletions
|
@ -1,5 +1,7 @@
|
||||||
{
|
{
|
||||||
|
system.defaults.CustomSystemPreferences."org.hammerspoon.Hammerspoon".MJConfigFile = "~/.config/hammerspoon/init.lua";
|
||||||
|
|
||||||
home-manager.sharedModules = [{
|
home-manager.sharedModules = [{
|
||||||
home.file.".hammerspoon/init.lua".text = "";
|
xdg.configFile."hammerspoon/init.lua".text = "";
|
||||||
}];
|
}];
|
||||||
}
|
}
|
||||||
|
|
|
@ -60,7 +60,7 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
home-manager.sharedModules = [{
|
home-manager.sharedModules = [{
|
||||||
home.file.".hammerspoon/Spoons/PaperWM.spoon" = {
|
xdg.configFile."hammerspoon/Spoons/PaperWM.spoon" = {
|
||||||
recursive = true;
|
recursive = true;
|
||||||
|
|
||||||
source = pkgs.fetchFromGitHub {
|
source = pkgs.fetchFromGitHub {
|
||||||
|
@ -71,7 +71,7 @@ in {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
home.file.".hammerspoon/Spoons/Swipe.spoon" = {
|
xdg.configFile."hammerspoon/Spoons/Swipe.spoon" = {
|
||||||
recursive = true;
|
recursive = true;
|
||||||
|
|
||||||
source = pkgs.fetchFromGitHub {
|
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
|
---@type table
|
||||||
_G.hs = _G.hs
|
_G.hs = _G.hs
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue