summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYigit Sever2021-10-11 23:58:27 +0300
committerYigit Sever2021-10-11 23:58:27 +0300
commitf54734dc46836492d38471c72a61394d97721c90 (patch)
treee6c46a6ba2031c1ae04178e5de43ddb75f0f5f3e
parent4dda320ca3fdffb898a375edf82121baafdbb7cf (diff)
downloaddotfiles-f54734dc46836492d38471c72a61394d97721c90.tar.gz
dotfiles-f54734dc46836492d38471c72a61394d97721c90.tar.bz2
dotfiles-f54734dc46836492d38471c72a61394d97721c90.zip
power.sh: simplify lock
-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 809e24c..4a5de69 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 -i ~/Dropbox/Wallpapers/current/breakfast.jpg --clock --time-font="FuraCode Nerd Font" --timesize=144 --datestr="" --timecolor=fefefeee --timestr="%H:%M" --radius=45 --timepos="ix:iy-250" 19 i3lock
20elif [[ $chosen = "shutdown" ]]; then 20elif [[ $chosen = "shutdown" ]]; then
21 systemctl poweroff 21 systemctl poweroff
22elif [[ $chosen = "restart" ]]; then 22elif [[ $chosen = "restart" ]]; then