From 0d7bccb081ecdbc5dea7e2988fc9819287800cfa Mon Sep 17 00:00:00 2001 From: Mike Vink Date: Sun, 15 Oct 2023 18:55:34 +0000 Subject: fix dwmblocks --- profiles/core/home.nix | 22 +--------------------- profiles/email/mailsync.nix | 4 ++-- 2 files changed, 3 insertions(+), 23 deletions(-) (limited to 'profiles') diff --git a/profiles/core/home.nix b/profiles/core/home.nix index 7f654a1..fc33dcb 100644 --- a/profiles/core/home.nix +++ b/profiles/core/home.nix @@ -55,7 +55,7 @@ }; home.sessionVariables = { - EDITOR = "kak"; + EDITOR = "nvim"; TERMINAL = "st"; }; @@ -114,26 +114,6 @@ bind-key -T copy-mode-vi V send -X select-line bind-key -T copy-mode-vi y send -X copy-pipe-and-cancel 'xclip -in -selection clipboard' bind-key -T copy-mode-vi : command-prompt - - bind-key -T window k select-pane -t '{up-of}' - bind-key -T window j select-pane -t '{down-of}' - bind-key -T window l select-pane -t '{right-of}' - bind-key -T window h select-pane -t '{left-of}' - bind-key -T window = select-layout even-vertical - bind-key -T window o kill-pane -a - bind-key -T window _ resize-pane -y 90% - bind-key -T window n run-shell ' - window="$(tmux display -p "#{window_name}")" - if [[ "''${window##kakc@}" != "$window" ]]; then - tmux splitw "kak -c ''${window##kakc@}" - else - tmux splitw "kak -c ''${KAK_SERVER##kaks@}" - fi - ' - bind -n C-space switch-client -T window - - bind -n C-s run-shell tmux-normal-mode - bind -n C-q run-shell 'tmux-normal-mode --quit' ''; }; diff --git a/profiles/email/mailsync.nix b/profiles/email/mailsync.nix index 8504e39..3095194 100644 --- a/profiles/email/mailsync.nix +++ b/profiles/email/mailsync.nix @@ -28,8 +28,8 @@ Service = { Type = "oneshot"; RemainAfterExit = "no"; - ExecSearchPath = "${config.hm.home.profileDirectory}/bin:/run/current-system/sw/bin"; - ExecStart = "${pkgs.coreutils}/bin/env mailsync"; + ExecSearchPath = "${config.users.users.mike.home}/.local/bin:${config.hm.home.profileDirectory}/bin:/run/current-system/sw/bin"; + ExecStart = "mailsync"; }; }; }; -- cgit v1.2.3