feat(wayland): more sway conf
This commit is contained in:
parent
59a76c7ff3
commit
f24c21b787
|
@ -29,7 +29,6 @@
|
|||
maim = "${pkgs.maim}/bin/maim -qs -b 1 --hidecursor";
|
||||
in {
|
||||
"Menu" = "exec ${cfg.menu}";
|
||||
"${cfg.modifier}+c" = "exec ${cfg.menu}";
|
||||
"${cfg.modifier}+F12" =
|
||||
"exec "
|
||||
+ toString (
|
||||
|
|
|
@ -33,11 +33,15 @@
|
|||
repeat_rate = "60";
|
||||
accel_profile = "flat";
|
||||
pointer_accel = "0.3";
|
||||
tap = "enabled";
|
||||
};
|
||||
"type:touchpad" = {
|
||||
pointer_accel = "0.5";
|
||||
natural_scroll = "enabled";
|
||||
};
|
||||
"type:touch" = {
|
||||
map_to_output = "eDP-1";
|
||||
};
|
||||
};
|
||||
keybindings = let
|
||||
cfg = config.wayland.windowManager.sway.config;
|
||||
|
@ -79,6 +83,13 @@
|
|||
}
|
||||
.${nixosConfig.node.name}
|
||||
or {};
|
||||
extraConfig = let
|
||||
cfg = config.wayland.windowManager.sway.config;
|
||||
in ''
|
||||
bindgesture swipe:3:left workpace next
|
||||
bindgesture swipe:3:right workpace prev
|
||||
bindgesture pinch:4:outward exec ${cfg.menu}
|
||||
'';
|
||||
};
|
||||
# Cursor invisible
|
||||
home.sessionVariables = {
|
||||
|
|
Loading…
Reference in a new issue