diff options
| author | beeb5k <beebeeb5k@gmail.com> | 2026-06-17 13:23:43 +0530 |
|---|---|---|
| committer | beeb5k <beebeeb5k@gmail.com> | 2026-06-17 13:23:43 +0530 |
| commit | f1d30adc192df38fe8f6cd50cb2eae048789459b (patch) | |
| tree | 687f4b25e544779a89a986d626d9eaf2acdc9284 /common/modules/window_managers/scripts.nix | |
| parent | 69d65e07cd5f88175db7a47011ee862480567eae (diff) | |
Niri config stuff and enable eyecandy and make ghostty default term
Diffstat (limited to 'common/modules/window_managers/scripts.nix')
| -rw-r--r-- | common/modules/window_managers/scripts.nix | 10 |
1 files changed, 9 insertions, 1 deletions
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) |
