From 39cfa9c1b8aeae043f5b542b3e7562786b6593a5 Mon Sep 17 00:00:00 2001 From: kat witch Date: Fri, 26 Mar 2021 21:36:27 +0000 Subject: [PATCH] profiles/sway: Workspace changes and screenstub fix --- profiles/sway/home/sway.nix | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/profiles/sway/home/sway.nix b/profiles/sway/home/sway.nix index 1165d559..c1245a36 100644 --- a/profiles/sway/home/sway.nix +++ b/profiles/sway/home/sway.nix @@ -88,6 +88,15 @@ middle_emulation = "enabled"; click_method = "clickfinger"; }; + "5824:1503:screenstub-tablet" = { + events = "disabled"; + }; + "5824:1503:screenstub-mouse" = { + events = "disabled"; + }; + "5824:1503:screenstub-kbd" = { + events = "disabled"; + }; "*" = { xkb_layout = "gb"; # xkb_variant = "nodeadkeys"; @@ -102,7 +111,7 @@ "${pkgs.j4-dmenu-desktop}/bin/j4-dmenu-desktop --dmenu=\"${dmenu}\" --term='${cfg.terminal}'"; modifier = "Mod4"; - assigns = { "2" = [{ class = "screenstub"; }]; }; + assigns = { "F1" = [{ class = "screenstub"; }]; }; startup = [ { command = "systemctl --user restart mako"; @@ -231,8 +240,8 @@ extraConfig = '' seat seat0 xcursor_theme breeze_cursors 20 workspace "1" output "DP-1" - workspace "2" output "DVI-D-1" - workspace "3" output "HDMI-A-1" + workspace "F2" output "DVI-D-1" + workspace "F1" output "HDMI-A-1" workspace_auto_back_and_forth yes ${workspaceBindingsStr} '';