From f1d30adc192df38fe8f6cd50cb2eae048789459b Mon Sep 17 00:00:00 2001 From: beeb5k Date: Wed, 17 Jun 2026 13:23:43 +0530 Subject: Niri config stuff and enable eyecandy and make ghostty default term --- common/modules/window_managers/scripts.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'common/modules/window_managers/scripts.nix') diff --git a/common/modules/window_managers/scripts.nix b/common/modules/window_managers/scripts.nix index 4a93928..fc7578c 100644 --- a/common/modules/window_managers/scripts.nix +++ b/common/modules/window_managers/scripts.nix @@ -1,7 +1,7 @@ { pkgs, config }: rec { - terminal = pkgs.writeShellScript "terminal" '' + terminal_with_tmux = pkgs.writeShellScript "terminal_with_tmux" '' TERM="${config.beeMods.terminal.default}" SESSION="_main" @@ -20,6 +20,14 @@ rec { fi fi ''; + defaultTerm = config.beeMods.terminal.default; + terminal = + if defaultTerm == "foot" then + "footclient" + else if defaultTerm == "ghostty" then + "ghostty +new-window || ghostty" + else + "alacritty msg create-window || alacritty"; dotfiles = pkgs.writeShellScriptBin "dotfiles" '' case "$1" in cd) -- cgit v1.3.1