parent
0c043e1ec4
commit
654a7fe8ca
2 changed files with 43 additions and 14 deletions
@ -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…
Reference in new issue