Mostly mutt config and some tidying
This commit is contained in:
parent
2aaf1684dd
commit
1dac5b8ee3
21 changed files with 987 additions and 24 deletions
31
bin/i3/i3exit
Executable file
31
bin/i3/i3exit
Executable file
|
@ -0,0 +1,31 @@
|
|||
#!/bin/sh
|
||||
lock() {
|
||||
~/.dotfiles/i3/fadeLockScreen
|
||||
#i3lock
|
||||
}
|
||||
|
||||
case "$1" in
|
||||
lock)
|
||||
lock
|
||||
;;
|
||||
logout)
|
||||
i3-msg exit
|
||||
;;
|
||||
suspend)
|
||||
systemctl suspend && lock
|
||||
;;
|
||||
hibernate)
|
||||
systemctl hibernate && lock
|
||||
;;
|
||||
reboot)
|
||||
systemctl reboot
|
||||
;;
|
||||
shutdown)
|
||||
systemctl poweroff
|
||||
;;
|
||||
*)
|
||||
echo "Usage: $0 {lock|logout|suspend|hibernate|reboot|shutdown}"
|
||||
exit 2
|
||||
esac
|
||||
|
||||
exit 0
|
Loading…
Add table
Add a link
Reference in a new issue