aboutsummaryrefslogtreecommitdiff
path: root/scripts/.scripts/power.sh
diff options
context:
space:
mode:
authoromagdy7 <omar.professional8777@gmail.com>2022-12-09 15:59:12 +0200
committeromagdy7 <omar.professional8777@gmail.com>2022-12-09 15:59:12 +0200
commit05907aa17dd4163d42a9abc64d0fa79aefc2f1bc (patch)
tree8cc10fe2ec402d2c2cc283f92787dba561261ca5 /scripts/.scripts/power.sh
parenta8d56b91efaebf9a8501f99bf45a3047c4dd72b7 (diff)
downloaddotfiles-05907aa17dd4163d42a9abc64d0fa79aefc2f1bc.tar.xz
dotfiles-05907aa17dd4163d42a9abc64d0fa79aefc2f1bc.zip
Added some new aliases and added some new keymaps to my nvim config
Diffstat (limited to 'scripts/.scripts/power.sh')
-rwxr-xr-xscripts/.scripts/power.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/.scripts/power.sh b/scripts/.scripts/power.sh
new file mode 100755
index 0000000..8722719
--- /dev/null
+++ b/scripts/.scripts/power.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+
+CHOICES="poweroff\nreboot"
+
+CHOICE=$(echo -e $CHOICES | dmenu -l 3)
+
+systemctl $CHOICE
+
+
+
+