1
0
Fork 0

Fix swayidle

This commit is contained in:
Malte Brandy 2019-12-16 14:34:01 +01:00
parent 60458fbcf3
commit dcb4ee9469
No known key found for this signature in database
GPG key ID: 226A2D41EF5378C9
2 changed files with 5 additions and 6 deletions

View file

@ -1,11 +1,6 @@
set $mod Mod4
set $lock swaylock -e -F -l -s fill -f -i ~/volatile/wallpaper.jpg
exec systemctl --user set-environment SWAYSOCK="$SWAYSOCK"
exec swayidle -w \
resume 'swaymsg "output * dpms on"' \
before-sleep '$lock'
output * bg ~/volatile/wallpaper.jpg fill
input type:keyboard {

View file

@ -160,7 +160,11 @@ in {
exec ${pkgs.mako}/bin/mako --background-color ${colors.background}cc --text-color ${colors.foreground} --border-size 0
exec ${my-pkgs.my-ssh-add}/bin/my-ssh-add
exec ${pkgs.xorg.xrdb}/bin/xrdb ${builtins.toFile "Xresources" "Xft.dpi: 96"}
exec ${pkgs.xorg.xrdb}/bin/xrdb ${
builtins.toFile "Xresources" "Xft.dpi: 96"
}
exec ${pkgs.systemd}/bin/systemctl --user set-environment SWAYSOCK="$SWAYSOCK"
exec ${pkgs.sway}/bin/swayidle -w before-sleep '$lock'
'';
in bindingsConfig + modlessBindingsConfig + colorConfig + barsConfig);
}