From b185275a0f592ac0ca3b632600d79ce29847c4a6 Mon Sep 17 00:00:00 2001 From: "Casper V. Kristensen" Date: Sat, 12 Aug 2023 18:44:46 +0200 Subject: [PATCH] sway: move workspace between outputs --- modules/desktop/sway.nix | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/desktop/sway.nix b/modules/desktop/sway.nix index 5917468..5cccc05 100644 --- a/modules/desktop/sway.nix +++ b/modules/desktop/sway.nix @@ -19,12 +19,20 @@ natural_scroll = "enable"; dwt = "disabled"; # don't disable-while-typing }; + "type:pointer" = { + # pointer_accel = "0.8"; # pointer SPEED, not acceleration + # accel_profile = "flat"; + }; }; modifier = "Mod4"; # super keybindings = lib.mkOptionDefault { "Mod4+x" = "focus child"; "Mod4+Escape" = "exec loginctl lock-session"; + # Move workspace between outputs + "Mod4+Control+Shift+h" = "move workspace to output left"; + "Mod4+Control+Shift+l" = "move workspace to output right"; + # Brightness "XF86MonBrightnessUp" = "exec light -A 5"; "XF86MonBrightnessDown" = "exec light -U 5"; @@ -105,6 +113,7 @@ pavucontrol # PulseAudio Volume Control pulseaudio # pactl swaylock + wdisplays wl-clipboard ];