update, added assets

This commit is contained in:
2026-03-29 02:39:10 +09:00
parent ad4a10ec09
commit b16a603ea1
21 changed files with 308 additions and 44 deletions

View File

@@ -8,7 +8,7 @@
multiplier = 5;
};
font = {
size = 14;
size = 10;
normal = {
family = "0xProto Nerd Font Mono";
style = "Regular";
@@ -25,6 +25,9 @@
window = {
opacity = 0.8;
};
terminal = {
shell = "${pkgs.zsh}/bin/zsh";
};
};
};
}

View File

@@ -10,6 +10,7 @@ in
./cmd_tools.nix
./i3.nix
./media.nix
./picom.nix
./tmux.nix
./vim.nix
./zed.nix

View File

@@ -12,6 +12,7 @@ in
{
programs.i3status = {
enable = true;
enableDefault = false;
general = {
output_format = "i3bar";
interval = 1;
@@ -34,7 +35,7 @@ in
settings = {
format = "LD %1min:%5min:%15min";
format_above_threshold = "LD H (%1min:%5min)";
max_threshold = "0.9";
max_threshold = "4.9";
};
};
"memory" = {
@@ -79,6 +80,7 @@ in
xsession.windowManager.i3 = {
enable = true;
config = {
defaultWorkspace = ''workspace number "1"'';
modifier = modKey;
menu = MENU;
terminal = TERM;
@@ -88,6 +90,9 @@ in
smartGaps = true;
inner = 10;
};
startup = [
{ command = "fcitx5 -r"; always = true; notification = false; }
];
modes = {
resize = {
"${UP}" = "resize shrink height 10 px or 10 ppt";
@@ -117,6 +122,7 @@ in
"${modKey}+e" = "layout toggle split";
"${modKey}+Shift+space" = "floating toggle";
"${modKey}+space" = "focus mode_toggle";
"${modKey}+minus" = "scratchpad show";
"${modKey}+Shift+minus" = "move scratchpad";
"${modKey}+n" = "workspace next";
"${modKey}+p" = "workspace prev";
@@ -144,6 +150,9 @@ in
"${modKey}+Shift+8" = ''move container to workspace number "8"'';
"${modKey}+Shift+9" = ''move container to workspace number "9"'';
"${modKey}+Shift+0" = ''move container to workspace number "10"'';
"XF86AudioRaiseVolume" = ''exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +5%'';
"XF86AudioLowerVolume" = ''exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ -5%'';
"XF86AudioMute" = ''exec --no-startup-id pactl set-sink-mute @DEFAULT_SINK@ toggle'';
};
};
};

17
home/picom.nix Normal file
View File

@@ -0,0 +1,17 @@
{ config, pkgs, ... }:
{
services.picom = {
enable = true;
backend = "glx";
fade = true;
fadeExclude = [
"window_type *= 'menu'"
"focused = 1"
];
inactiveOpacity = 0.9;
shadow = true;
shadowExclude = [
"focused = 1"
];
};
}

View File

@@ -1,4 +1,4 @@
{ config, pkgs, ... }:
{ config, pkgs, lib, ... }:
{
programs.zsh = {
enable = true;
@@ -9,6 +9,12 @@
size = 100;
};
syntaxHighlighting.enable = true;
defaultKeymap = "vicmd";
initContent = let
prependCfg = lib.mkOrder 500 "";
appendCfg = lib.mkOrder 1500 ''
bindkey -v
'';
in
lib.mkMerge [ prependCfg appendCfg ];
};
}