From 3348bd0b39e21c7185519dcc8ac485c483bbf7c8 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Tue, 3 Dec 2024 22:50:26 -0500 Subject: [PATCH] remove kitty from aerc --- modules/common/mail/aerc.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/modules/common/mail/aerc.nix b/modules/common/mail/aerc.nix index 028acda..4a117e1 100644 --- a/modules/common/mail/aerc.nix +++ b/modules/common/mail/aerc.nix @@ -192,7 +192,7 @@ xdg.desktopEntries.aerc = lib.mkIf pkgs.stdenv.isLinux { name = "aerc"; - exec = "kitty aerc %u"; + exec = "${config.home-manager.users.${config.user}.programs.rofi.terminal} aerc %u"; }; xsession.windowManager.i3.config.keybindings = lib.mkIf pkgs.stdenv.isLinux { "${ @@ -203,7 +203,9 @@ pkgs.writeShellScript "focus-mail.sh" '' count=$(ps aux | grep -c aerc) if [ "$count" -eq 1 ]; then - i3-msg "exec --no-startup-id kitty --class aerc aerc" + i3-msg "exec --no-startup-id ${ + config.home-manager.users.${config.user}.programs.rofi.terminal + } --class aerc aerc" sleep 0.25 fi i3-msg "[class=aerc] focus"