tewaked wayland conf

This commit is contained in:
2024-03-11 12:07:47 +01:00
parent f7934e9ba8
commit b7d788fe10

View File

@@ -83,11 +83,20 @@
shadows enable shadows enable
default_dim_inactive 0.1 default_dim_inactive 0.1
dim_inactive_colors.unfocused #fc28c3 dim_inactive_colors.unfocused #fc28c3
exec swayidle -w \
timeout 300 'swaylock -f -c ef5ffc' \
timeout 600 'swaymsg output * dpms off' \
resume 'swaymsg putput * dpms on' \
before-sleep 'swaylock -f -c ef5ffc'
exec keepassxc
include ~/.config/sway/device-conf include ~/.config/sway/device-conf
''; '';
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.
services.swayidle = { services.swayidle = {
enable = true; enable = false;
events = [ events = [
{ {
event = "before-sleep"; event = "before-sleep";