From 86bd3f6b862e26d99bd49249f62fc91864cb3e33 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Tue, 24 Jan 2023 10:10:05 -0300 Subject: [PATCH] minor kakoune and helix tomfoolery --- user/fish.nix | 7 +++++-- user/variables.nix | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/user/fish.nix b/user/fish.nix index 48d0999..f661986 100644 --- a/user/fish.nix +++ b/user/fish.nix @@ -1,5 +1,5 @@ { config, pkgs, lib, ... }: -let inherit (pkgs.uservars) key theme color accent font; +let inherit (pkgs.uservars) key theme color accent font editor; in { config = { programs.fish = { @@ -29,7 +29,10 @@ in { }; shellAbbrs = { off = "shutdown now"; - v = "hx"; + v = { + "helix" = "hx"; + "kakoune" = "kak"; + }.${editor}; ns = "nix develop --command $SHELL"; # system sv = "sudo systemct"; diff --git a/user/variables.nix b/user/variables.nix index eb9bf4e..10840db 100644 --- a/user/variables.nix +++ b/user/variables.nix @@ -128,5 +128,5 @@ rec { dmenu = "bmenu"; desktop = "sway"; browser = "qutebrowser"; - editor = "helix"; + editor = "kakoune"; }