From 4ca03fde374d62d9266cef39e9f095b012fbcd7a Mon Sep 17 00:00:00 2001 From: Syed Daanish Date: Tue, 7 Jul 2026 16:03:40 +0100 Subject: [PATCH] Fix home manager dotfiles --- home/dunst/default.nix | 9 +++------ home/fastfetch/default.nix | 4 ++-- home/fish/default.nix | 1 + home/fish/interactive.fish | 3 +++ home/kitty/default.nix | 2 +- home/rofi/default.nix | 2 +- 6 files changed, 11 insertions(+), 10 deletions(-) create mode 100644 home/fish/interactive.fish diff --git a/home/dunst/default.nix b/home/dunst/default.nix index 8d849fb..1ad4c48 100644 --- a/home/dunst/default.nix +++ b/home/dunst/default.nix @@ -1,17 +1,14 @@ { pkgs, ... }: let - menuify = pkgs.substituteAll { - src = ./menuify.sh; - isExecutable = true; - dir = "bin"; - name = "menuify"; - + script = pkgs.replaceVars ./menuify.sh { bash = pkgs.bash; dmenu = pkgs.dmenu; gawk = pkgs.gawk; coreutils = pkgs.coreutils; }; + + menuify = pkgs.writeShellScriptBin "menuify" (builtins.readFile script); in { services.dunst = { diff --git a/home/fastfetch/default.nix b/home/fastfetch/default.nix index d57e00c..0d0aad4 100644 --- a/home/fastfetch/default.nix +++ b/home/fastfetch/default.nix @@ -48,7 +48,7 @@ } { type = "custom"; - format = "\\u001b[33m╰─  ->\\u001b[39m kutu.rb"; + format = "{#yellow}╰─  ->{#} kutu.rb"; } { type = "host"; @@ -67,7 +67,7 @@ } { type = "custom"; - format = " \\u001b[90m \\u001b[31m \\u001b[32m \\u001b[33m \\u001b[34m \\u001b[35m \\u001b[36m \\u001b[37m \\u001b[38m \\u001b[39m"; + format = " {#black} {#red} {#green} {#yellow} {#blue} {#magenta} {#cyan} {#white} {#default}"; } ]; }; diff --git a/home/fish/default.nix b/home/fish/default.nix index 2a22d1c..beeeec9 100644 --- a/home/fish/default.nix +++ b/home/fish/default.nix @@ -19,5 +19,6 @@ }; shellInit = builtins.readFile ./config.fish; + interactiveShellInit = builtins.readFile ./interactive.fish; }; } diff --git a/home/fish/interactive.fish b/home/fish/interactive.fish new file mode 100644 index 0000000..04ae800 --- /dev/null +++ b/home/fish/interactive.fish @@ -0,0 +1,3 @@ +if test "$KITTY_STR" -eq 1 + fastfetch +end diff --git a/home/kitty/default.nix b/home/kitty/default.nix index c93ae9b..dcb3132 100644 --- a/home/kitty/default.nix +++ b/home/kitty/default.nix @@ -27,7 +27,7 @@ allow_remote_control = "yes"; listen_on = "unix:/tmp/mykitty"; - startup_session = ./startup; + startup_session = "${./startup}"; foreground = "#CDD6F4"; background = "#080014"; diff --git a/home/rofi/default.nix b/home/rofi/default.nix index 2d7bcc0..5446ea0 100644 --- a/home/rofi/default.nix +++ b/home/rofi/default.nix @@ -4,6 +4,6 @@ programs.rofi = { enable = true; - theme = ./theme.rasi; + theme = ./tokyonight-mid.rasi; }; }