Update lock command to use i3lock over i3lock-fancy
This commit is contained in:
parent
47fd2da912
commit
db0ad5baf3
3 changed files with 7 additions and 5 deletions
|
@ -1,10 +1,13 @@
|
|||
#!/bin/bash
|
||||
|
||||
option=$(printf "sleep\nlogout\nshutdown\nrestart" | rofi -dmenu -theme Arc-Dark -font 'hack 18')
|
||||
option=$(printf "lock\nsleep\nlogout\nshutdown\nrestart" | rofi -dmenu -theme Arc-Dark -font 'hack 18')
|
||||
|
||||
if [ "$option" = "sleep" ];
|
||||
if [ "$option" = "lock" ];
|
||||
then
|
||||
i3lock-fancy -g -t "System Locked" -f Hack-Regular
|
||||
i3lock --color 000000
|
||||
elif [ "$option" = "sleep" ];
|
||||
then
|
||||
i3lock --color 000000
|
||||
systemctl suspend
|
||||
elif [ "$option" = "logout" ];
|
||||
then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue