diff options
author | Akshay <[email protected]> | 2021-10-03 07:06:10 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2021-10-03 07:06:10 +0100 |
commit | 072e34034a99a8aac7dc0f3b651a3f1243d06f90 (patch) | |
tree | 94789741a98dcf49f200805b9d21553f0cc2e66d /programs | |
parent | 94d534975ab228b27d4713f7dec41bfa3900fdfb (diff) |
migrate scripts into nix
Diffstat (limited to 'programs')
-rw-r--r-- | programs/readline.nix | 2 | ||||
-rw-r--r-- | programs/tmux.nix | 4 |
2 files changed, 3 insertions, 3 deletions
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 @@ | |||
7 | programs.readline = { | 7 | programs.readline = { |
8 | enable = true; | 8 | enable = true; |
9 | bindings = { | 9 | bindings = { |
10 | "\\C-o" = ''"$HOME/scripts/tmux-fzf.sh\n"''; | 10 | "\\C-o" = ''tmux-fzf\n''; |
11 | "\\t" = "menu-complete"; | 11 | "\\t" = "menu-complete"; |
12 | "\\e[Z" = "menu-complete-backward"; | 12 | "\\e[Z" = "menu-complete-backward"; |
13 | }; | 13 | }; |
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 @@ | |||
15 | unbind-key C-b | 15 | unbind-key C-b |
16 | bind-key C-a send-prefix | 16 | bind-key C-a send-prefix |
17 | 17 | ||
18 | bind r source-file ~/.tmux.conf | 18 | bind r source-file ~/.config/tmux/tmux.conf |
19 | 19 | ||
20 | set-option -g default-terminal xterm-256color-italic | 20 | set-option -g default-terminal xterm-256color-italic |
21 | set escape-time 20 | 21 | set escape-time 20 |
@@ -79,7 +79,7 @@ | |||
79 | set -g status-left-length 100 | 79 | set -g status-left-length 100 |
80 | set -g status-left "#[fg=colour15]#(date +"%H%M") #[fg=colour8]hrs " | 80 | set -g status-left "#[fg=colour15]#(date +"%H%M") #[fg=colour8]hrs " |
81 | set -ag status-left "#[fg=colour15]#(date +"%d/%m")#[fg=colour8] #(date +"%Y") " | 81 | set -ag status-left "#[fg=colour15]#(date +"%d/%m")#[fg=colour8] #(date +"%Y") " |
82 | set -ag status-left "#[fg=colour7]#(~/scripts/bat -q)#[fg=colour12]" | 82 | set -ag status-left "#[fg=colour7]#(bat -q)#[fg=colour12]" |
83 | ''; | 83 | ''; |
84 | }; | 84 | }; |
85 | } | 85 | } |