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

@ -4,8 +4,8 @@
./swappy
];
home.packages = let
swayShot = pkgs.writeScriptBin "swayshot" ''
home.packages = with pkgs; [
(pkgs.writeScriptBin "swayshot" ''
# Swappy
handle_swappy() {
# Create an imv window to act as a static screen
@ -57,8 +57,6 @@
else
echo "Please use the arguments --swappy or --screen."
fi
'';
in with pkgs; [
swayShot
'')
];
}

View file

@ -2,12 +2,10 @@
{
home = {
packages = with pkgs; [ swappy ];
file = {
".config/swappy/config".text = ''
[Default]
early_exit=true
save_dir=$HOME/Pictures/Screenshots
'';
};
file.".config/swappy/config".text = ''
[Default]
early_exit=true
save_dir=$HOME/Pictures/Screenshots
'';
};
}