execute swayidle before-sleep with swaylock
This commit is contained in:
@@ -37,6 +37,8 @@ set $textColor #cbccc6
|
||||
set $mainMonitor "HDMI-A-1"
|
||||
set $laptopMonitor "eDP-1"
|
||||
|
||||
set $lockCmd "swaylock"
|
||||
|
||||
|
||||
# ____ _____ _ _ _____ ____ _ _
|
||||
# / ___| ____| \ | | ____| _ \ / \ | |
|
||||
@@ -74,6 +76,9 @@ output $laptopMonitor pos 0 0
|
||||
output $mainMonitor pos 1920 0 mode 1920x1080@144Hz
|
||||
|
||||
|
||||
# idle and lock
|
||||
exec_always swayidle before-sleep $lockCmd
|
||||
|
||||
|
||||
|
||||
# _ ____ ____ _ ___ ____ _ _____ ___ ___ _ _ ____
|
||||
|
||||
Reference in New Issue
Block a user