i3: lockscreen

This commit is contained in:
Michael Grote 2021-07-03 12:03:27 +02:00
parent 8945535d9f
commit d898d2829a
3 changed files with 4 additions and 4 deletions

View file

@ -14,7 +14,7 @@ font pango:monospace 8
# execute lockscreen.sh; sperrt rechner nach x min # execute lockscreen.sh; sperrt rechner nach x min
exec_always --no-startup-id /home/mg/dotfiles/i3/lockscreen.sh exec_always --no-startup-id /home/mg/dotfiles/i3/lockscreen.sh
# enter lockscreen manually # enter lockscreen manually
bindsym $mod1+l exec i3lock -c 000000 bindsym $mod1+l exec i3lock --ignore-empty-password --color 000000
# NetworkManager is the most popular way to manage wireless networks on Linux, # NetworkManager is the most popular way to manage wireless networks on Linux,
# and nm-applet is a desktop environment-independent system tray GUI for it. # and nm-applet is a desktop environment-independent system tray GUI for it.

View file

@ -1,2 +1,2 @@
#!/bin/bash #!/bin/bash
xautolock -detectsleep -time 15 -locker "i3lock -c 000000" xautolock -detectsleep -time 15 -locker "i3lock --ignore-empty-password --color 000000"

View file

@ -238,9 +238,9 @@ menu-1-0-exec = reboot
menu-2-0 = power off menu-2-0 = power off
menu-2-0-exec = poweroff menu-2-0-exec = poweroff
menu-3-0 = suspend menu-3-0 = suspend
menu-3-0-exec = i3lock -c 000000 && systemctl suspend menu-3-0-exec = i3lock --ignore-empty-password --color 000000 && systemctl suspend
menu-4-0 = hibernate menu-4-0 = hibernate
menu-4-0-exec = i3lock -c 000000 && systemctl hibernate menu-4-0-exec = i3lock --ignore-empty-password --color 000000 && systemctl hibernate
[settings] [settings]
screenchange-reload = true screenchange-reload = true