summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorMike Vink <mike1994vink@gmail.com>2023-10-15 18:55:34 +0000
committerMike Vink <mike1994vink@gmail.com>2023-10-15 18:55:34 +0000
commit0d7bccb081ecdbc5dea7e2988fc9819287800cfa (patch)
tree52d2fb39160eeea691cb51848cd53da00f67166f /profiles
parentf7759d3fe51aec9d621ed610b2c76eb2b5103abf (diff)
fix dwmblocks
Diffstat (limited to 'profiles')
-rw-r--r--profiles/core/home.nix22
-rw-r--r--profiles/email/mailsync.nix4
2 files changed, 3 insertions, 23 deletions
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";
};
};
};