profiles/sway: Workspace changes and screenstub fix

This commit is contained in:
kat witch 2021-03-26 21:36:27 +00:00
parent a2f23a2db7
commit 39cfa9c1b8
No known key found for this signature in database
GPG key ID: 1B477797DCA5EC72

View file

@ -88,6 +88,15 @@
middle_emulation = "enabled"; middle_emulation = "enabled";
click_method = "clickfinger"; 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_layout = "gb";
# xkb_variant = "nodeadkeys"; # xkb_variant = "nodeadkeys";
@ -102,7 +111,7 @@
"${pkgs.j4-dmenu-desktop}/bin/j4-dmenu-desktop --dmenu=\"${dmenu}\" --term='${cfg.terminal}'"; "${pkgs.j4-dmenu-desktop}/bin/j4-dmenu-desktop --dmenu=\"${dmenu}\" --term='${cfg.terminal}'";
modifier = "Mod4"; modifier = "Mod4";
assigns = { "2" = [{ class = "screenstub"; }]; }; assigns = { "F1" = [{ class = "screenstub"; }]; };
startup = [ startup = [
{ {
command = "systemctl --user restart mako"; command = "systemctl --user restart mako";
@ -231,8 +240,8 @@
extraConfig = '' extraConfig = ''
seat seat0 xcursor_theme breeze_cursors 20 seat seat0 xcursor_theme breeze_cursors 20
workspace "1" output "DP-1" workspace "1" output "DP-1"
workspace "2" output "DVI-D-1" workspace "F2" output "DVI-D-1"
workspace "3" output "HDMI-A-1" workspace "F1" output "HDMI-A-1"
workspace_auto_back_and_forth yes workspace_auto_back_and_forth yes
${workspaceBindingsStr} ${workspaceBindingsStr}
''; '';