i3 updates
This commit is contained in:
@@ -135,7 +135,7 @@ in
|
||||
"$mod" = "SUPER";
|
||||
|
||||
bind = [
|
||||
"$mod, t, exec, ghostty"
|
||||
"$mod, t, exec, kitty"
|
||||
"$mod, e, exec, thunar"
|
||||
"$mod, v, togglefloating"
|
||||
"$mod, q, killactive"
|
||||
|
||||
@@ -1,14 +1,50 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
xsession.windowManager.i3 = {
|
||||
enable = true;
|
||||
package = pkgs.i3-gaps;
|
||||
config = {
|
||||
modifier = "Mod4";
|
||||
terminal = "${pkgs.kitty}/bin/kitty";
|
||||
gaps = {
|
||||
inner = 10;
|
||||
outer = 5;
|
||||
outer = 0;
|
||||
};
|
||||
keybindings =
|
||||
let
|
||||
modifier = config.xsession.windowManager.i3.config.modifier;
|
||||
in
|
||||
lib.mkOptionDefault {
|
||||
"${modifier}+h" = "focus left";
|
||||
"${modifier}+j" = "focus down";
|
||||
"${modifier}+k" = "focus up";
|
||||
"${modifier}+l" = "focus right";
|
||||
|
||||
"${modifier}+space" = "exec launcher_t2";
|
||||
};
|
||||
bars = [
|
||||
{
|
||||
position = "top";
|
||||
statusCommand = "i3status-rs ~/.config/i3status-rust/config-default.toml";
|
||||
}
|
||||
];
|
||||
};
|
||||
extraConfig = ''
|
||||
smart_gaps on
|
||||
hide_edge_borders smart_no_gaps
|
||||
|
||||
for_window [class="kitty"] border none
|
||||
for_window [class="kitty"] gaps inner current set 0
|
||||
for_window [class="kitty"] gaps outer current set 0
|
||||
'';
|
||||
};
|
||||
|
||||
programs.i3status-rust = {
|
||||
enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -51,5 +51,29 @@
|
||||
"kitty_mod+k" = "neighboring_window up";
|
||||
"kitty_mod+l" = "neighboring_window right";
|
||||
};
|
||||
|
||||
extraConfig = ''
|
||||
background #1c1c1c
|
||||
foreground #ddeedd
|
||||
cursor #e2bbef
|
||||
selection_background #4d4d4d
|
||||
color0 #3d352a
|
||||
color8 #554444
|
||||
color1 #cd5c5c
|
||||
color9 #cc5533
|
||||
color2 #86af80
|
||||
1color10 #88aa22
|
||||
1color3 #e8ae5b
|
||||
1color11 #ffa75d
|
||||
1color4 #6495ed
|
||||
1color12 #87ceeb
|
||||
1color5 #deb887
|
||||
1color13 #996600
|
||||
1color6 #b0c4de
|
||||
1color14 #b0c4de
|
||||
1color7 #bbaa99
|
||||
2color15 #ddccbb
|
||||
2selection_foreground #1c1c1c
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
||||
@@ -111,6 +111,7 @@
|
||||
swift.disabled = true;
|
||||
terraform.disabled = true;
|
||||
zig.disabled = true;
|
||||
dotnet.disabled = true;
|
||||
};
|
||||
};
|
||||
|
||||
@@ -127,6 +128,14 @@
|
||||
fd
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
"ASDF_NODEJS_AUTO_ENABLE_COREPACK" = "true";
|
||||
};
|
||||
|
||||
home.file.".default-npm-packages".text = ''
|
||||
@anthropic-ai/claude-code
|
||||
'';
|
||||
|
||||
home.sessionPath = [
|
||||
"./.git/safe/../../node_modules/.bin"
|
||||
"./.git/safe/../../bin"
|
||||
|
||||
Reference in New Issue
Block a user