Alacritty: use alacritty for "open in terminal" action
This commit is contained in:
parent
49e054e282
commit
c51b634b6b
|
@ -134,5 +134,17 @@ in {
|
|||
];
|
||||
};
|
||||
};
|
||||
|
||||
home.sessionVariables = { TERMINAL = "alacritty"; };
|
||||
|
||||
# Look at this fucking bullshit:
|
||||
# https://gitlab.gnome.org/GNOME/glib/-/blob/20c4fcb2a7246a2b205649eae3ebda4296217afc/gio/gdesktopappinfo.c#L2702
|
||||
# Theres a fucking hard coded list of terminals!
|
||||
home.packages = with pkgs; [
|
||||
(pkgs.writeShellScriptBin "gnome-terminal" ''
|
||||
[ "$1" = "--" ] && shift
|
||||
exec terminal -e "$@"
|
||||
'')
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue