Move some more things around and restructure things better

This commit is contained in:
Jimbo 2024-11-05 16:09:49 -05:00
parent 84d5732a32
commit f2cdf01122
8 changed files with 66 additions and 83 deletions

View file

@ -22,8 +22,8 @@
'';
};
home.packages = let
makoToggle = pkgs.writeScriptBin "makotoggle" ''
home.packages = with pkgs; [
(pkgs.writeScriptBin "makotoggle" ''
# Run makoctl mode and store the output in a variable
mode_output=$(makoctl mode)
@ -40,6 +40,6 @@
sleep 2
makoctl mode -a do-not-disturb
fi
'';
in with pkgs; [ makoToggle ];
'')
];
}