Compare commits
No commits in common. "10f6beba2a7bdd3ec4494eeb532cd919229cafb0" and "ffeea5a19bb02fd5a499ba0b78e8372ee56e45bc" have entirely different histories.
10f6beba2a
...
ffeea5a19b
2 changed files with 5 additions and 6 deletions
|
@ -1,18 +1,18 @@
|
||||||
#!/bin/bash
|
#!/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
|
then
|
||||||
i3lock-fancy -g -t "System Locked" -f Hack-Regular
|
i3lock-fancy -g -t "System Locked" -f Hack-Regular
|
||||||
systemctl suspend
|
systemctl suspend
|
||||||
elif [ "$option" = "logout" ];
|
elif [ "$option" = "Logout" ];
|
||||||
then
|
then
|
||||||
i3-msg exit
|
i3-msg exit
|
||||||
elif [ "$option" = "shutdown" ];
|
elif [ "$option" = "Shutdown" ];
|
||||||
then
|
then
|
||||||
poweroff
|
poweroff
|
||||||
elif [ "$option" = "restart" ];
|
elif [ "$option" = "Restart" ];
|
||||||
then
|
then
|
||||||
reboot
|
reboot
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -115,7 +115,6 @@
|
||||||
gco = "git checkout";
|
gco = "git checkout";
|
||||||
|
|
||||||
s = "swallow";
|
s = "swallow";
|
||||||
nrb = "sudo nixos-rebuild switch --flake /home/vylpes/flake#\${HOST}";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue