aboutsummaryrefslogtreecommitdiff
path: root/systemControl.sh
diff options
context:
space:
mode:
authorInigoGutierrez <inigogf.95@gmail.com>2019-04-09 16:26:46 +0200
committerInigoGutierrez <inigogf.95@gmail.com>2019-04-09 16:28:27 +0200
commit6e1ce4f87831d3761a46497f80e56ac7a73e14c8 (patch)
tree1ce2f613f63e9d0a8b3443ef70feb81d6ad1f583 /systemControl.sh
parent8da9dfb0098bf119b278e043f93a56c629013b26 (diff)
downloadscripts-6e1ce4f87831d3761a46497f80e56ac7a73e14c8.tar.gz
scripts-6e1ce4f87831d3761a46497f80e56ac7a73e14c8.zip
Minor changes.
Diffstat (limited to 'systemControl.sh')
-rwxr-xr-xsystemControl.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/systemControl.sh b/systemControl.sh
index b7ba5ee..4654e98 100755
--- a/systemControl.sh
+++ b/systemControl.sh
@@ -1,12 +1,12 @@
#!/bin/bash
# A dmenu prompt script to control system functions.
-options="lock\nreboot\nshutdown\nexit i3"
+options="lock\nreboot\nshutdown\nexit i3"
chosen=$(echo -e "$options" | dmenu -p ">_")
case "$chosen" in
- lock) i3lock -i ~/images/wallpapers/lockbg.png -f ;;
+ lock) i3lock.sh ;;
reboot) ~/scripts/prompt.sh Reboot? reboot ;;
shutdown) ~/scripts/prompt.sh Shutdown? "shutdown now" ;;
"exit i3") ~/scripts/prompt.sh "Exit i3? (ends X session)" "i3-msg exit" ;;