From 68cf02e36662b1ca6db4df5fe3f101aa902ee8d8 Mon Sep 17 00:00:00 2001 From: foxora Date: Sun, 22 Feb 2026 02:38:15 +0000 Subject: [PATCH] butterfly was right, foot is better :3 --- homes/aurora/default.nix | 32 +++++++++---------- homes/modules/programs/iamb/config.toml | 2 +- homes/modules/programs/yazi/yazi.nix | 2 +- homes/modules/scripts/task-manager.sh | 2 +- homes/modules/shell/zsh.nix | 3 -- .../wallust/templates/foot-template.ini | 24 ++++++++++++++ homes/modules/themeing/wallust/wallust.toml | 6 ++-- .../modules/wm/hyprland/hypr/windowrules.conf | 12 +++---- homes/modules/wm/hyprland/hyprland.nix | 4 +-- homes/modules/wm/river.nix | 2 +- homes/modules/wm/sway.nix | 2 +- 11 files changed, 55 insertions(+), 36 deletions(-) create mode 100644 homes/modules/themeing/wallust/templates/foot-template.ini diff --git a/homes/aurora/default.nix b/homes/aurora/default.nix index abae254..85932c7 100644 --- a/homes/aurora/default.nix +++ b/homes/aurora/default.nix @@ -1,6 +1,7 @@ # aurora's configgg!! :333 # trans <3 { + config, inputs, upkgs, root, @@ -267,27 +268,24 @@ ]; }; - kitty = { + foot = { enable = true; - package = upkgs.kitty; - - font = { - name = "DepartureMono Nerd Font Mono"; - size = 10; - }; settings = { - scrollback_lines = 16384; - enable_audio_bell = false; - update_check_interval = 0; - allow_remote_control = "yes"; # used for scripts to control kitty - - confirm_os_window_close = 0; # disable close window prompt + main = { + font = "DepartureMono Nerd Font Mono:size=10"; + include = "/home/${config.home.username}/.config/foot/theme.ini"; + }; + scrollback = { + lines = 131072; + }; + bell = { + system = "no"; + urgent = "no"; + notify = "no"; + visual = "no"; + }; }; - - extraConfig = '' - include ~/.config/kitty/theme.conf - ''; }; zen-browser = { diff --git a/homes/modules/programs/iamb/config.toml b/homes/modules/programs/iamb/config.toml index 1577437..88902fd 100644 --- a/homes/modules/programs/iamb/config.toml +++ b/homes/modules/programs/iamb/config.toml @@ -7,4 +7,4 @@ enabled = true show_message = false [image_preview] -protocol.type = "kitty" +protocol.type = "sixel" diff --git a/homes/modules/programs/yazi/yazi.nix b/homes/modules/programs/yazi/yazi.nix index 9943358..fc3e7a6 100644 --- a/homes/modules/programs/yazi/yazi.nix +++ b/homes/modules/programs/yazi/yazi.nix @@ -170,7 +170,7 @@ [filechooser] cmd=${upkgs.xdg-desktop-portal-termfilechooser}/share/xdg-desktop-portal-termfilechooser/yazi-wrapper.sh default_dir=$HOME - env=TERMCMD='kitty --title filechooser' + env=TERMCMD='foot --title filechooser' open_mode=suggested save_mode=last ''; diff --git a/homes/modules/scripts/task-manager.sh b/homes/modules/scripts/task-manager.sh index 068eb79..ceb4ac2 100755 --- a/homes/modules/scripts/task-manager.sh +++ b/homes/modules/scripts/task-manager.sh @@ -1,2 +1,2 @@ #!/usr/bin/env bash -pkill -f "kitty --title btop -e btop" || { kitty --title btop -e btop & disown; } +pkill -f "foot --title btop -e btop" || { foot --title btop -e btop & disown; } diff --git a/homes/modules/shell/zsh.nix b/homes/modules/shell/zsh.nix index d1c9849..a004edb 100644 --- a/homes/modules/shell/zsh.nix +++ b/homes/modules/shell/zsh.nix @@ -65,9 +65,6 @@ # upgrades the system upgrade = "cdns && nix flake update && nh os switch ./ --accept-flake-config"; - # kitty's ssh command (to fix xterm and other stuff qwq) - kssh = "kitty +kitten ssh"; - # pipes are prettyyyy!!!! :3333 pipes1 = "pipes.sh -r 1024 -p 8 -f 30"; pipes2 = "pipes.sh -r 4096 -p 16 -f 100"; diff --git a/homes/modules/themeing/wallust/templates/foot-template.ini b/homes/modules/themeing/wallust/templates/foot-template.ini new file mode 100644 index 0000000..a8093e2 --- /dev/null +++ b/homes/modules/themeing/wallust/templates/foot-template.ini @@ -0,0 +1,24 @@ +[colors] +alpha=1.000000 +alpha-mode=default +background={{ background | strip }} +foreground={{ foreground | strip }} +selection-background={{ foreground | strip }} +selection-foreground={{ background | strip }} +regular0={{ color0 | strip }} +regular1={{ color1 | strip }} +regular2={{ color2 | strip }} +regular3={{ color3 | strip }} +regular4={{ color4 | strip }} +regular5={{ color5 | strip }} +regular6={{ color6 | strip }} +regular7={{ color7 | strip }} +bright0={{ color8 | strip }} +bright1={{ color9 | strip }} +bright2={{ color10 | strip }} +bright3={{ color11 | strip }} +bright4={{ color12 | strip }} +bright5={{ color13 | strip }} +bright6={{ color14 | strip }} +bright7={{ color15 | strip }} +urls={{ color13 | strip }} diff --git a/homes/modules/themeing/wallust/wallust.toml b/homes/modules/themeing/wallust/wallust.toml index ff82190..d5d0737 100644 --- a/homes/modules/themeing/wallust/wallust.toml +++ b/homes/modules/themeing/wallust/wallust.toml @@ -13,12 +13,12 @@ equibop.target = "~/.config/equibop/themes/base16-colors.css" equicord.template = "discord-template.css" equicord.target = "~/.config/Equicord/themes/base16-colors.css" -kitty.template = "kitty-template.conf" -kitty.target = "~/.config/kitty/theme.conf" - hyprland.template = "hyprland-template.conf" hyprland.target = "~/.config/hypr/colors.conf" +foot.template = "foot-template.ini" +foot.target = "~/.config/foot/theme.ini" + waybar.template = "waybar-template.css" waybar.target = "~/.config/waybar/colors.css" diff --git a/homes/modules/wm/hyprland/hypr/windowrules.conf b/homes/modules/wm/hyprland/hypr/windowrules.conf index 1d2c078..0d93e18 100644 --- a/homes/modules/wm/hyprland/hypr/windowrules.conf +++ b/homes/modules/wm/hyprland/hypr/windowrules.conf @@ -4,7 +4,7 @@ # task manager windowrule { name = task-manager - match:class = ^(kitty)$ + match:class = ^(foot)$ match:title = ^(btop)$ float = true center = true @@ -15,7 +15,7 @@ windowrule { # terminal filechooser windowrule { name = terminal-filechooser - match:class = ^(kitty)$ + match:class = ^(foot)$ match:title = ^(filechooser)$ float = true center = true @@ -26,7 +26,7 @@ windowrule { # yazi explorer #windowrule { #name = yazi - #match:class = ^(kitty)$ + #match:class = ^(foot)$ #match:title = ^(yazi)$ #float = true #center = true @@ -34,10 +34,10 @@ windowrule { #} # ---------------------------------------------------------------------------- # -# kitty - blur +# foot - blur windowrule { - name = kitty-blur - match:class = ^(kitty)$ + name = foot-blur + match:class = ^(foot)$ match:fullscreen = false opacity = 0.95 } diff --git a/homes/modules/wm/hyprland/hyprland.nix b/homes/modules/wm/hyprland/hyprland.nix index 49570e5..6346e51 100644 --- a/homes/modules/wm/hyprland/hyprland.nix +++ b/homes/modules/wm/hyprland/hyprland.nix @@ -23,8 +23,8 @@ "$mod" = "SUPER"; # applications - "$terminal" = "kitty"; - "$explorer" = "kitty -e yazi"; + "$terminal" = "foot"; + "$explorer" = "foot -e yazi"; "$browser" = "zen-twilight"; # menu diff --git a/homes/modules/wm/river.nix b/homes/modules/wm/river.nix index 3fac1a0..59f8a4c 100644 --- a/homes/modules/wm/river.nix +++ b/homes/modules/wm/river.nix @@ -10,7 +10,7 @@ main = "Super"; # applications - terminal = "kitty"; + terminal = "foot"; browser = "firefox"; in { default-layout = "${layout}"; diff --git a/homes/modules/wm/sway.nix b/homes/modules/wm/sway.nix index 36db54e..53d9741 100644 --- a/homes/modules/wm/sway.nix +++ b/homes/modules/wm/sway.nix @@ -3,7 +3,7 @@ enable = true; config = rec { modifier = "Mod4"; # Mod4 = Super/Meta - terminal = "kitty"; + terminal = "foot"; # disable sway bar bars = [];