rework locking
This commit is contained in:
@@ -13,7 +13,6 @@ SFMono also provides icons.
|
|||||||
### for sway
|
### for sway
|
||||||
+ `SwayNotificationCenter`
|
+ `SwayNotificationCenter`
|
||||||
+ `sworkstyle` (application icons in status bar)
|
+ `sworkstyle` (application icons in status bar)
|
||||||
+ `swaylock-effects` (cooler lock)
|
|
||||||
+ `wlogout` (logout menu)
|
+ `wlogout` (logout menu)
|
||||||
+ `bemenu` (dmenu replacement)
|
+ `bemenu` (dmenu replacement)
|
||||||
+ `slurp`, `grim`, `swappy` (screenshot)
|
+ `slurp`, `grim`, `swappy` (screenshot)
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ bindswitch --reload --locked lid:off output $laptop enable
|
|||||||
# Idle configuration
|
# Idle configuration
|
||||||
# Lock after 20 minutes
|
# Lock after 20 minutes
|
||||||
# Suspend after 30 minutes
|
# Suspend after 30 minutes
|
||||||
set $lock 'swaylock --image ~/images/wallpaper/wallpaper.png --effect-blur 7x5 --clock --indicator'
|
set $lock 'swaylock -f --image ~/images/wallpaper/wallpaper.png'
|
||||||
|
|
||||||
exec swayidle -w \
|
exec swayidle -w \
|
||||||
timeout 1200 $lock \
|
timeout 1200 $lock \
|
||||||
@@ -181,7 +181,7 @@ input type:keyboard {
|
|||||||
titlebar_border_thickness 0
|
titlebar_border_thickness 0
|
||||||
titlebar_padding 0
|
titlebar_padding 0
|
||||||
|
|
||||||
gaps inner 5
|
gaps inner 0
|
||||||
|
|
||||||
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
|
for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill
|
||||||
for_window [app_id="firefox"] move container to workspace number $ws2
|
for_window [app_id="firefox"] move container to workspace number $ws2
|
||||||
|
|||||||
Reference in New Issue
Block a user