3 Commits

Author SHA1 Message Date
kenji c4ed00e6c8 refactor(terminal): more modularity for default terminal font 2026-01-11 19:32:56 -06:00
kenji b720c1ff02 docs: add FIXME for nixovim 2026-01-11 19:32:29 -06:00
kenji 9ee5f40aa8 docs: add FIXME for waybar popup 2026-01-11 19:32:11 -06:00
4 changed files with 42 additions and 39 deletions
+1 -1
View File
@@ -55,7 +55,7 @@
enableFishIntegration = true; enableFishIntegration = true;
settings = { settings = {
font-family = myConfig.font.monospace; font-family = myConfig.terminal.font;
confirm-close-surface = false; confirm-close-surface = false;
app-notifications = false; app-notifications = false;
window-padding-x = 15; window-padding-x = 15;
+1
View File
@@ -5,6 +5,7 @@
... ...
}: { }: {
home.packages = [ home.packages = [
# FIXME: does not dynamically update with matugen when open
inputs.nixovim.packages.${pkgs.system}.full inputs.nixovim.packages.${pkgs.system}.full
]; ];
} }
+1 -1
View File
@@ -4,6 +4,7 @@
myConfig, myConfig,
... ...
}: let }: let
# FIXME: waybar overlaps fullscreen display when restarting waybar
hakase-popup-launch = pkgs.writeShellScriptBin "hakase-popup-launch" '' hakase-popup-launch = pkgs.writeShellScriptBin "hakase-popup-launch" ''
tui_name=$1 tui_name=$1
active_popup=$(${pkgs.hyprland}/bin/hyprctl clients -j | ${pkgs.jq}/bin/jq -r '.[] | select(.class | startswith("org.hakase.")) | .class') active_popup=$(${pkgs.hyprland}/bin/hyprctl clients -j | ${pkgs.jq}/bin/jq -r '.[] | select(.class | startswith("org.hakase.")) | .class')
@@ -22,7 +23,6 @@
echo "same" echo "same"
fi fi
} }
launch() { launch() {
exec ${pkgs.util-linux}/bin/setsid uwsm-app -- xdg-terminal-exec --app-id=org.hakase.popup."''${tui_name}" -e "''${tui_name}" exec ${pkgs.util-linux}/bin/setsid uwsm-app -- xdg-terminal-exec --app-id=org.hakase.popup."''${tui_name}" -e "''${tui_name}"
} }
+2
View File
@@ -18,6 +18,7 @@
}; };
terminal = { terminal = {
default = "ghostty"; default = "ghostty";
font = "MonoLisa";
aliases = { aliases = {
update = "sudo nixos-rebuild switch --flake ~/.config/nixos/#hakase"; update = "sudo nixos-rebuild switch --flake ~/.config/nixos/#hakase";
}; };
@@ -75,6 +76,7 @@
}; };
terminal = { terminal = {
default = "ghostty"; default = "ghostty";
font = "MonoLisa";
aliases = { aliases = {
update = "sudo nixos-rebuild switch --flake ~/.config/nixos/#macbook"; update = "sudo nixos-rebuild switch --flake ~/.config/nixos/#macbook";
}; };