Start re-organising my dotfiles
This commit is contained in:
parent
4141702986
commit
8954b21d7f
101 changed files with 40 additions and 3228 deletions
28
rofi/scripts/rofi-shutdown
Executable file
28
rofi/scripts/rofi-shutdown
Executable file
|
@ -0,0 +1,28 @@
|
|||
#!/usr/bin/sh
|
||||
selection=$( \
|
||||
echo -e "Lock\nLogout\nSuspend\nHibernate\nReboot\nShutdown" |\
|
||||
rofi -dmenu -i -p 'Option');
|
||||
echo $selection;
|
||||
|
||||
sleep .2
|
||||
|
||||
case $selection in
|
||||
Lock)
|
||||
~/.config/i3/i3exit lock
|
||||
;;
|
||||
Logout)
|
||||
~/.config/i3/i3exit logout
|
||||
;;
|
||||
Suspend)
|
||||
~/.config/i3/i3exit suspend
|
||||
;;
|
||||
Hibernate)
|
||||
~/.config/i3/i3exit hibernate
|
||||
;;
|
||||
Reboot)
|
||||
~/.config/i3/i3exit reboot
|
||||
;;
|
||||
Shutdown)
|
||||
~/.config/i3/i3exit shutdown
|
||||
;;
|
||||
esac
|
Loading…
Add table
Add a link
Reference in a new issue