Fix swayidle
This commit is contained in:
parent
60458fbcf3
commit
dcb4ee9469
2 changed files with 5 additions and 6 deletions
|
@ -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 {
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue