add autotiling to i3
This commit is contained in:
parent
1e40d3b01a
commit
07b4b59c4f
|
@ -61,7 +61,6 @@ in
|
||||||
## THE PICTURES
|
## THE PICTURES
|
||||||
"${mod}+s" = "exec flameshot gui --clipboard";
|
"${mod}+s" = "exec flameshot gui --clipboard";
|
||||||
|
|
||||||
# windows
|
|
||||||
## find mouse cursor
|
## find mouse cursor
|
||||||
"${mod}+x" =
|
"${mod}+x" =
|
||||||
"exec find-cursor --color '#282828' -o 2 --outline-color '#EBDBB2'";
|
"exec find-cursor --color '#282828' -o 2 --outline-color '#EBDBB2'";
|
||||||
|
@ -72,6 +71,9 @@ in
|
||||||
"${mod}+m" = "mode media";
|
"${mod}+m" = "mode media";
|
||||||
"${mod}+w" = "mode move";
|
"${mod}+w" = "mode move";
|
||||||
"${mod}+v" = "mode focus";
|
"${mod}+v" = "mode focus";
|
||||||
|
|
||||||
|
## workspaces
|
||||||
|
"${mod}+Tab" = "workspace next";
|
||||||
|
|
||||||
# extra keys
|
# extra keys
|
||||||
## audio
|
## audio
|
||||||
|
@ -124,10 +126,11 @@ in
|
||||||
Escape = "mode default";
|
Escape = "mode default";
|
||||||
v = "mode focus";
|
v = "mode focus";
|
||||||
r = "mode resize";
|
r = "mode resize";
|
||||||
j = "move down";
|
j = "exec i3l move down";
|
||||||
k = "move up";
|
k = "exec i3l move up";
|
||||||
h = "move left";
|
h = "exec i3l move left";
|
||||||
l = "move right";
|
l = "exec i3l move right";
|
||||||
|
s = "exec i3l swap container with previous";
|
||||||
};
|
};
|
||||||
focus = {
|
focus = {
|
||||||
Escape = "mode default";
|
Escape = "mode default";
|
||||||
|
@ -182,7 +185,7 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}];
|
}];
|
||||||
|
|
||||||
startup = [
|
startup = [
|
||||||
{
|
{
|
||||||
command = "--no-startup-id feh --bg-scale /etc/nixos/wallpaper.png";
|
command = "--no-startup-id feh --bg-scale /etc/nixos/wallpaper.png";
|
||||||
|
@ -193,9 +196,21 @@ in
|
||||||
always = true;
|
always = true;
|
||||||
}
|
}
|
||||||
{
|
{
|
||||||
command = "--no-startup-id autotiling";
|
command = "--no-startup-id i3-layouts";
|
||||||
always = true;
|
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
|
||||||
|
'';
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
let
|
let
|
||||||
music = {
|
music = {
|
||||||
block = "music";
|
block = "music";
|
||||||
format = "$play $player {$combo.str(max_w:25,rot_interval:0.5)|}";
|
format = "$icon $play $player {$combo.str(max_w:25,rot_interval:0.5)|}";
|
||||||
};
|
};
|
||||||
pomodoro = {
|
pomodoro = {
|
||||||
block = "pomodoro";
|
block = "pomodoro";
|
||||||
|
|
2
user.nix
2
user.nix
|
@ -1,7 +1,7 @@
|
||||||
{ pkgs, users, config, inputs, supercolor, kaokao, ... }:
|
{ pkgs, users, config, inputs, supercolor, kaokao, ... }:
|
||||||
let
|
let
|
||||||
my-python-packages = p: with p; [
|
my-python-packages = p: with p; [
|
||||||
numpy
|
i3ipc
|
||||||
(
|
(
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "i3-layouts";
|
pname = "i3-layouts";
|
||||||
|
|
Loading…
Reference in New Issue