diff options
author | Yigit Sever | 2021-10-11 23:58:27 +0300 |
---|---|---|
committer | Yigit Sever | 2021-10-11 23:58:27 +0300 |
commit | f54734dc46836492d38471c72a61394d97721c90 (patch) | |
tree | e6c46a6ba2031c1ae04178e5de43ddb75f0f5f3e | |
parent | 4dda320ca3fdffb898a375edf82121baafdbb7cf (diff) | |
download | dotfiles-f54734dc46836492d38471c72a61394d97721c90.tar.gz dotfiles-f54734dc46836492d38471c72a61394d97721c90.tar.bz2 dotfiles-f54734dc46836492d38471c72a61394d97721c90.zip |
power.sh: simplify lock
-rwxr-xr-x | .local/bin/power.sh | 2 |
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 | ||
18 | if [[ $chosen = "lock" ]]; then | 18 | if [[ $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 |
20 | elif [[ $chosen = "shutdown" ]]; then | 20 | elif [[ $chosen = "shutdown" ]]; then |
21 | systemctl poweroff | 21 | systemctl poweroff |
22 | elif [[ $chosen = "restart" ]]; then | 22 | elif [[ $chosen = "restart" ]]; then |