Add passthrough mode for sway
This commit is contained in:
parent
8c2d997c24
commit
64db91381f
1 changed files with 8 additions and 0 deletions
|
@ -190,6 +190,8 @@ in
|
||||||
"${mod}+l" = "exec ${swaylockcmd}";
|
"${mod}+l" = "exec ${swaylockcmd}";
|
||||||
"${mod}+p" = "mode resize";
|
"${mod}+p" = "mode resize";
|
||||||
|
|
||||||
|
"${mod}+Pause" = "mode passthrough";
|
||||||
|
|
||||||
"${mod}+c" = mkIf config.eboskma.programs.emacs.enable "exec ${config.eboskma.programs.emacs.package}/bin/emacsclient -c";
|
"${mod}+c" = mkIf config.eboskma.programs.emacs.enable "exec ${config.eboskma.programs.emacs.package}/bin/emacsclient -c";
|
||||||
|
|
||||||
"${mod}+Print" = "exec ${pkgs.grim}/bin/grim -o $(${pkgs.sway}/bin/swaymsg -t get_outputs | ${pkgs.jq}/bin/jq -r '.[] | select(.focused) | .name')";
|
"${mod}+Print" = "exec ${pkgs.grim}/bin/grim -o $(${pkgs.sway}/bin/swaymsg -t get_outputs | ${pkgs.jq}/bin/jq -r '.[] | select(.focused) | .name')";
|
||||||
|
@ -205,6 +207,12 @@ in
|
||||||
"${mod}+d" = "exec ${pkgs.swaynotificationcenter}/bin/swaync-client -t -sw";
|
"${mod}+d" = "exec ${pkgs.swaynotificationcenter}/bin/swaync-client -t -sw";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
modes = {
|
||||||
|
passthrough = {
|
||||||
|
"${mod}+Pause" = "mode default";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
# terminal = "${pkgs.alacritty}/bin/alacritty";
|
# terminal = "${pkgs.alacritty}/bin/alacritty";
|
||||||
terminal = "${pkgs.foot}/bin/foot";
|
terminal = "${pkgs.foot}/bin/foot";
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue