diff --git a/i3/config b/i3/config index 0736374..df1dfe0 100644 --- a/i3/config +++ b/i3/config @@ -14,7 +14,7 @@ font pango:monospace 8 # execute lockscreen.sh; sperrt rechner nach x min exec_always --no-startup-id /home/mg/dotfiles/i3/lockscreen.sh # enter lockscreen manually -bindsym $mod1+l exec i3lock --ignore-empty-password --color 000000 +bindsym $mod1+l exec xset dpms force off && i3lock --ignore-empty-password --color 000000 # 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. diff --git a/i3/lockscreen.sh b/i3/lockscreen.sh index 53f13c6..c986b85 100755 --- a/i3/lockscreen.sh +++ b/i3/lockscreen.sh @@ -1,2 +1,2 @@ #!/bin/bash -xautolock -detectsleep -time 15 -locker "i3lock --ignore-empty-password --color 000000" +xautolock -detectsleep -time 15 -locker "xset dpms force off && i3lock --ignore-empty-password --color 000000"