Changing from i3 to dwm - tidied ip bin folder

This commit is contained in:
Jonathan Hodgson 2019-05-17 12:52:12 +01:00
parent 265a3ad84e
commit 8ced2f42f5
47 changed files with 254 additions and 245 deletions

28
bin/dmenu/rofi-shutdown Executable file
View 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