all repos — nixfiles @ abd3ae52b6ab17b16b7dcc2d096c10aab1991d2b

System and user configuration, managed by nix and home-manager

Use single terminal config variable
Alan Pearce alan@alanpearce.eu
Tue, 05 Nov 2019 12:43:56 +0100
commit

abd3ae52b6ab17b16b7dcc2d096c10aab1991d2b

parent

774b650897a3ded419fd67505faf5fe31f0c0484

2 files changed, 2 insertions(+), 2 deletions(-)

jump to
M user/settings/i3.nixuser/settings/i3.nix
@@ -24,7 +24,7 @@ window = {         titlebar = false;
       };
       keybindings = {
-        "${mod}+Return" = "exec --no-startup-id xst";
+        "${mod}+Return" = "exec --no-startup-id ${config.home.sessionVariables.TERMINAL}";
         # kill focused window
         "${mod}+w" = "kill";
         "${mod}+Shift+w" = "kill";
M user/settings/rofi.nixuser/settings/rofi.nix
@@ -6,7 +6,7 @@ [dmenu]     dmenu_command = ${pkgs.rofi}/bin/dmenu
 
     [editor]
-    terminal = xst
+    terminal = ${config.home.sessionVariables.TERMINAL}
     gui_if_available = false
   '';