summary refs log tree commit diff stats
path: root/user/settings
diff options
context:
space:
mode:
authorAlan Pearce2019-11-05 12:43:56 +0100
committerAlan Pearce2019-11-05 12:43:56 +0100
commitabd3ae52b6ab17b16b7dcc2d096c10aab1991d2b (patch)
tree49e1e3256204c65c34c5ea2e5ffc064ebb46b024 /user/settings
parent774b650897a3ded419fd67505faf5fe31f0c0484 (diff)
downloadnixfiles-abd3ae52b6ab17b16b7dcc2d096c10aab1991d2b.tar.lz
nixfiles-abd3ae52b6ab17b16b7dcc2d096c10aab1991d2b.tar.zst
nixfiles-abd3ae52b6ab17b16b7dcc2d096c10aab1991d2b.zip
Use single terminal config variable
Diffstat (limited to 'user/settings')
-rw-r--r--user/settings/i3.nix2
-rw-r--r--user/settings/rofi.nix2
2 files changed, 2 insertions, 2 deletions
diff --git a/user/settings/i3.nix b/user/settings/i3.nix
index d83ee2e7..df2985de 100644
--- a/user/settings/i3.nix
+++ b/user/settings/i3.nix
@@ -24,7 +24,7 @@
         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";
diff --git a/user/settings/rofi.nix b/user/settings/rofi.nix
index 03d2117b..a378a57c 100644
--- a/user/settings/rofi.nix
+++ b/user/settings/rofi.nix
@@ -6,7 +6,7 @@
     dmenu_command = ${pkgs.rofi}/bin/dmenu
 
     [editor]
-    terminal = xst
+    terminal = ${config.home.sessionVariables.TERMINAL}
     gui_if_available = false
   '';