sway autotiling

This commit is contained in:
zoe 2023-06-25 11:34:05 +02:00
parent f5d16ecd4e
commit a2bee8d451
2 changed files with 3 additions and 27 deletions

View File

@ -214,25 +214,13 @@ in
always = true;
}
{
command = "--no-startup-id i3-layouts";
command = "swaymsg -t SUBSCRIBE -m \"['workspace']\" | jq --unbuffered -r 'select(.change == \"focus\") | .current.output' | xargs -L1 swaymsg input type:tablet\_tool map\_to\_output";
always = true;
}
{
command = "swaymsg -t SUBSCRIBE -m \"['workspace']\" | jq --unbuffered -r 'select(.change == \"focus\") | .current.output' | xargs -L1 swaymsg input type:tablet\_tool map\_to\_output";
command = "autotiling";
always = true;
}
];
};
home-manager.users.zoe.xsession.windowManager.i3.extraConfig = ''
set $i3l companion to workspace 1
set $i3l companion to workspace 2
set $i3l companion to workspace 3
set $i3l companion to workspace 4
set $i3l companion to workspace 5
set $i3l companion to workspace 6
set $i3l companion to workspace 7
set $i3l companion to workspace 8
set $i3l companion to workspace 9
set $i3l companion to workspace 10
'';
}

View File

@ -4,17 +4,6 @@ let
with p; [
i3ipc
python-lsp-server
(buildPythonPackage rec {
pname = "i3-layouts";
version = "0.13.2";
src = fetchPypi {
inherit pname version;
sha256 =
"f16416b4f2b039c4e90f816a121e3fe56064569791b6324f1d1ec9e9e7861d47";
};
doCheck = false;
propagatedBuildInputs = [ pkgs.python311Packages.i3ipc ];
})
];
in {
# Define a user account. Don't forget to set a password with passwd.
@ -118,8 +107,7 @@ in {
tmux
# window manager
rofimoji
dmenu
autotiling
# uni
dbeaver