From 072e34034a99a8aac7dc0f3b651a3f1243d06f90 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sun, 3 Oct 2021 11:36:10 +0530 Subject: migrate scripts into nix --- programs/readline.nix | 2 +- programs/tmux.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'programs') diff --git a/programs/readline.nix b/programs/readline.nix index be43ace..e7b7b33 100644 --- a/programs/readline.nix +++ b/programs/readline.nix @@ -7,7 +7,7 @@ programs.readline = { enable = true; bindings = { - "\\C-o" = ''"$HOME/scripts/tmux-fzf.sh\n"''; + "\\C-o" = ''tmux-fzf\n''; "\\t" = "menu-complete"; "\\e[Z" = "menu-complete-backward"; }; diff --git a/programs/tmux.nix b/programs/tmux.nix index 58369da..30483aa 100644 --- a/programs/tmux.nix +++ b/programs/tmux.nix @@ -15,7 +15,7 @@ unbind-key C-b bind-key C-a send-prefix - bind r source-file ~/.tmux.conf + bind r source-file ~/.config/tmux/tmux.conf set-option -g default-terminal xterm-256color-italic set escape-time 20 @@ -79,7 +79,7 @@ set -g status-left-length 100 set -g status-left "#[fg=colour15]#(date +"%H%M") #[fg=colour8]hrs " set -ag status-left "#[fg=colour15]#(date +"%d/%m")#[fg=colour8] #(date +"%Y") " - set -ag status-left "#[fg=colour7]#(~/scripts/bat -q)#[fg=colour12]" + set -ag status-left "#[fg=colour7]#(bat -q)#[fg=colour12]" ''; }; } -- cgit v1.2.3