Gen 441: Extra firefox tweaks and organized the scripts folder

This commit is contained in:
pagedMov
2024-10-13 00:07:47 -04:00
parent 3dce49571a
commit e52da77ade
36 changed files with 229 additions and 105 deletions

View File

@@ -0,0 +1,20 @@
{ self, pkgs }:
pkgs.writeShellScriptBin "shutdown-script" (''
#!/usr/bin/env zsh
respond="$(echo " Shutdown\n Restart\n Cancel" | rofi -dmenu)"
if [ $respond = ' Shutdown' ]
then
echo "shutdown"
shutdown now
elif [ $respond = ' Restart' ]
then
echo "restart"
reboot
else
notify-send "cancel shutdown"
fi
'')