homebox first attempt

This commit is contained in:
2024-10-18 16:01:09 -05:00
parent d6509ee1a7
commit 917bfa3763
6 changed files with 35 additions and 31 deletions

View File

@@ -34,7 +34,6 @@
zulu
lmms
killall
youtube-music
#unfree {
geogebra
#}

View File

@@ -12,25 +12,15 @@
#scripts
(pkgs.writeShellScriptBin "_systemRebuild" ''
sudo nix flake lock /home/nathan/Projects/System --update-input nathan --update-input root --update-input system
${pkgs.nh}/bin/nh os switch --ask /home/nathan/Projects/System
echo //////Enter to close//////
read
'')
(pkgs.writeShellScriptBin "_homeRebuild" ''
sudo nix flake lock /home/nathan/Projects/System --update-input nathan
${pkgs.nh}/bin/nh home switch --ask /home/nathan/Projects/System
echo //////Enter to close//////
read
'')
(pkgs.writeShellScriptBin "addCoverArtMP3" ''
if [[ $# != 2 ]]
then echo "usage: addCoverArtMP3 song.mp3 image.jpg"
exit
fi
mv $1 copyof$1
ffmpeg -i copyof$1 -i $2 -map_metadata 0 -map 0 -map 1 -acodec copy $1
'')
(pkgs.writeShellScriptBin "randWallpaper" ''
file=$(ls /home/nathan/Pictures/Wallpaper/ | shuf -n 1)