Compare commits

..

3 commits

Author SHA1 Message Date
10f6beba2a Fix typo 2024-12-01 15:36:25 +00:00
b6337aaa0e Add rebuild alias 2024-12-01 15:35:50 +00:00
b139fa9449 Remove capitalisation on power menu 2024-12-01 15:34:13 +00:00
2 changed files with 6 additions and 5 deletions

View file

@ -1,18 +1,18 @@
#!/bin/bash
option=$(printf "Sleep\nLogout\nShutdown\nRestart" | rofi -dmenu -theme Arc-Dark -font 'hack 18')
option=$(printf "sleep\nlogout\nshutdown\nrestart" | rofi -dmenu -theme Arc-Dark -font 'hack 18')
if [ "$option" = "Sleep" ];
if [ "$option" = "sleep" ];
then
i3lock-fancy -g -t "System Locked" -f Hack-Regular
systemctl suspend
elif [ "$option" = "Logout" ];
elif [ "$option" = "logout" ];
then
i3-msg exit
elif [ "$option" = "Shutdown" ];
elif [ "$option" = "shutdown" ];
then
poweroff
elif [ "$option" = "Restart" ];
elif [ "$option" = "restart" ];
then
reboot
fi

View file

@ -115,6 +115,7 @@
gco = "git checkout";
s = "swallow";
nrb = "sudo nixos-rebuild switch --flake /home/vylpes/flake#\${HOST}";
};
};