forked from extern/nix-config
meta: Remove swayidle + swaylock
This was cute, but I personally don't want to deal with the inconvenience of debugging C code and using a fork for improved functionality.
This commit is contained in:
parent
433e15ba0c
commit
3ad971ebaa
@ -178,7 +178,4 @@ bindsym XF86MonBrightnessUp exec brightnessctl set +5%
|
|||||||
# bindsym XF86WLAN exec
|
# bindsym XF86WLAN exec
|
||||||
# bindsym XF86Favorites exec
|
# bindsym XF86Favorites exec
|
||||||
|
|
||||||
# Lock the screen after a certain amount of time
|
|
||||||
exec swayidle -w
|
|
||||||
|
|
||||||
include /etc/sway/config.d/*
|
include /etc/sway/config.d/*
|
||||||
|
@ -1,2 +0,0 @@
|
|||||||
timeout 300 swaylock
|
|
||||||
before-sleep swaylock
|
|
@ -1,16 +0,0 @@
|
|||||||
# swayidle
|
|
||||||
|
|
||||||
[swayidle][swayidle] is an idle management daemon for Wayland.
|
|
||||||
|
|
||||||
## Use Cases
|
|
||||||
|
|
||||||
swayidle can be used to:
|
|
||||||
|
|
||||||
- Automatically lock the screen after a period of inactivity
|
|
||||||
- Automatically lock the screen on lid close (e.g. on a laptop)
|
|
||||||
|
|
||||||
You should not use swayidle if:
|
|
||||||
|
|
||||||
- You don't want to automatically lock the screen.
|
|
||||||
|
|
||||||
[swayidle]: https://github.com/swaywm/swayidle
|
|
@ -1,16 +0,0 @@
|
|||||||
# swaylock
|
|
||||||
show-keyboard-layout
|
|
||||||
daemonize
|
|
||||||
font="Noto Sans CJK JP"
|
|
||||||
font-size=20
|
|
||||||
indicator-radius=75
|
|
||||||
indicator-thickness=15
|
|
||||||
image=$(fd . ~/Pictures | shuf -n 1)
|
|
||||||
|
|
||||||
# swaylock-effects
|
|
||||||
effect-blur=5x2
|
|
||||||
clock
|
|
||||||
indicator
|
|
||||||
font-size=25
|
|
||||||
indicator-radius=85
|
|
||||||
indicator-thickness=16
|
|
@ -1,18 +0,0 @@
|
|||||||
# swaylock
|
|
||||||
|
|
||||||
[swaylock][swaylock] is a screen locker for Wayland. [swaylock-effects][swaylock-effects] adds additional features such as blur.
|
|
||||||
|
|
||||||
## Use Cases
|
|
||||||
|
|
||||||
swaylock can be used to:
|
|
||||||
|
|
||||||
- Lock the screen in a reasonable way
|
|
||||||
|
|
||||||
You should not use swaylock if:
|
|
||||||
|
|
||||||
- You're running on Xorg (use [xsecurelock][xsecurelock] instead)
|
|
||||||
- You use a desktop environment that already has a screen locker
|
|
||||||
|
|
||||||
[swaylock]: https://github.com/swaywm/swaylock
|
|
||||||
[swaylock-effects]: https://github.com/mortie/swaylock-effects
|
|
||||||
[xsecurelock]: https://github.com/google/xsecurelock
|
|
Loading…
Reference in New Issue
Block a user