diff options
| author | omagdy7 <omar.professional8777@gmail.com> | 2022-12-09 15:59:12 +0200 |
|---|---|---|
| committer | omagdy7 <omar.professional8777@gmail.com> | 2022-12-09 15:59:12 +0200 |
| commit | 05907aa17dd4163d42a9abc64d0fa79aefc2f1bc (patch) | |
| tree | 8cc10fe2ec402d2c2cc283f92787dba561261ca5 /scripts/.scripts/power.sh | |
| parent | a8d56b91efaebf9a8501f99bf45a3047c4dd72b7 (diff) | |
| download | dotfiles-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-x | scripts/.scripts/power.sh | 12 |
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 + + + + |
