summaryrefslogtreecommitdiffstats
path: root/.local/bin/power.sh
diff options
context:
space:
mode:
authorYigit Sever2021-10-18 18:12:20 +0300
committerYigit Sever2021-10-18 18:12:37 +0300
commit97fdacb78fbf8b880452090389e02cc5729d3463 (patch)
treee6858db642c8660b4f5edac7374cf8506b898ac3 /.local/bin/power.sh
parent34a011c4614b0da953c2f628a1dc10959d99cee7 (diff)
downloaddotfiles-97fdacb78fbf8b880452090389e02cc5729d3463.tar.gz
dotfiles-97fdacb78fbf8b880452090389e02cc5729d3463.tar.bz2
dotfiles-97fdacb78fbf8b880452090389e02cc5729d3463.zip
power.sh: use better lock script
Diffstat (limited to '.local/bin/power.sh')
-rwxr-xr-x.local/bin/power.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.local/bin/power.sh b/.local/bin/power.sh
index 4a5de69..f794211 100755
--- a/.local/bin/power.sh
+++ b/.local/bin/power.sh
@@ -16,7 +16,7 @@ chosen=$(echo -e "lock\nshutdown\nrestart" | rofi -dmenu -i)
16# https://www.freedesktop.org/software/systemd/man/systemd-sleep.conf.html#Description 16# https://www.freedesktop.org/software/systemd/man/systemd-sleep.conf.html#Description
17 17
18if [[ $chosen = "lock" ]]; then 18if [[ $chosen = "lock" ]]; then
19 i3lock 19 $HOME/.local/bin/lock
20elif [[ $chosen = "shutdown" ]]; then 20elif [[ $chosen = "shutdown" ]]; then
21 systemctl poweroff 21 systemctl poweroff
22elif [[ $chosen = "restart" ]]; then 22elif [[ $chosen = "restart" ]]; then