home/sway: add tessen shortcut
This commit is contained in:
parent
f7eda08683
commit
8740cc57fe
@ -3,6 +3,7 @@
|
|||||||
pkgs,
|
pkgs,
|
||||||
inputs,
|
inputs,
|
||||||
system,
|
system,
|
||||||
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
cliphist_sway = pkgs.writeShellScriptBin "cliphist_sway" ''
|
cliphist_sway = pkgs.writeShellScriptBin "cliphist_sway" ''
|
||||||
@ -22,7 +23,7 @@ in {
|
|||||||
wayland.windowManager.sway = {
|
wayland.windowManager.sway = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraSessionCommands = "";
|
extraSessionCommands = "";
|
||||||
extraConfigEarly = '' '';
|
extraConfigEarly = '''';
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
fonts = {
|
fonts = {
|
||||||
@ -130,6 +131,7 @@ in {
|
|||||||
"Mod4+j" = "exec ${pkgs.sway}/bin/swaymsg [app_id=com.viber] scratchpad show || exec ${viber}/bin/viber";
|
"Mod4+j" = "exec ${pkgs.sway}/bin/swaymsg [app_id=com.viber] scratchpad show || exec ${viber}/bin/viber";
|
||||||
"Mod4+y" = ''
|
"Mod4+y" = ''
|
||||||
exec ${pkgs.sway}/bin/swaymsg [app_id="pulsemixer"] scratchpad show || exec ${term} -a pulsemixer ${pkgs.pulsemixer}/bin/pulsemixer'';
|
exec ${pkgs.sway}/bin/swaymsg [app_id="pulsemixer"] scratchpad show || exec ${term} -a pulsemixer ${pkgs.pulsemixer}/bin/pulsemixer'';
|
||||||
|
"Mod4+p" = "exec ${lib.getExe pkgs.tessen} -a copy";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user