parent
8de4852418
commit
c297f378f5
|
@ -167,7 +167,7 @@ in
|
|||
|
||||
# Locking and DPMS
|
||||
"${cfg.modifier}+y" = "exec ${pkgs.swaylock}/bin/swaylock -f -i ${wallpaper}";
|
||||
"--no-repeat --locked ${cfg.modifier}+q" = ''exec 'test $(swaymsg -t get_outputs | ${pkgs.jq}/bin/jq "[.[].dpms] | any") = "true" && swaymsg "output * dpms off" || swaymsg "output * dpms on"'';
|
||||
"--no-repeat --locked ${cfg.modifier}+q" = "output - dpms toggle";
|
||||
|
||||
# Notifications
|
||||
"${cfg.modifier}+n" = "exec ${pkgs.swaynotificationcenter}/bin/swaync-client -t";
|
||||
|
|
Loading…
Reference in a new issue