Move some more things around and restructure things better
This commit is contained in:
parent
84d5732a32
commit
f2cdf01122
8 changed files with 66 additions and 83 deletions
|
@ -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 ];
|
||||
'')
|
||||
];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue