From ceb6a8075e1b6e1228b7c75a8da36ed520d32b5f Mon Sep 17 00:00:00 2001 From: Quentin Aristote Date: Tue, 28 Feb 2023 18:26:57 +0100 Subject: home: set EDITOR to open emacs in tty --- modules/home-manager/personal/gui/x/i3/keybindings.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/home-manager/personal/gui/x') diff --git a/modules/home-manager/personal/gui/x/i3/keybindings.nix b/modules/home-manager/personal/gui/x/i3/keybindings.nix index 3781867..62da227 100644 --- a/modules/home-manager/personal/gui/x/i3/keybindings.nix +++ b/modules/home-manager/personal/gui/x/i3/keybindings.nix @@ -13,7 +13,7 @@ in { keybindings = lib.mkOptionDefault { # launching apps - "${modifier}+Control+Return" = ''exec "$EDITOR"''; + "${modifier}+Control+Return" = ''exec "emacsclient --create-frame"''; "${modifier}+Shift+Return" = ''exec "$BROWSER"''; "${modifier}+d" = lib.mkIf config.programs.rofi.enable ''exec "rofi -modi drun,filebrowser,run,window -show drun"''; -- cgit v1.2.3