diff options
Diffstat (limited to 'programs/tmux.nix')
-rw-r--r-- | programs/tmux.nix | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/programs/tmux.nix b/programs/tmux.nix index 11efa39..e9e626b 100644 --- a/programs/tmux.nix +++ b/programs/tmux.nix | |||
@@ -16,6 +16,10 @@ let | |||
16 | ${pkgs.cmus}/bin/cmus-remote -Q | awk '/status/ { print $2 }' | 16 | ${pkgs.cmus}/bin/cmus-remote -Q | awk '/status/ { print $2 }' |
17 | ''; | 17 | ''; |
18 | 18 | ||
19 | date-bst = pkgs.writeScriptBin "date-bst" '' | ||
20 | env TZ=Europe/London date +"%H%M" | ||
21 | ''; | ||
22 | |||
19 | in | 23 | in |
20 | { | 24 | { |
21 | programs.tmux = { | 25 | programs.tmux = { |
@@ -89,15 +93,15 @@ in | |||
89 | set -ag status-style "fg=colour7" | 93 | set -ag status-style "fg=colour7" |
90 | 94 | ||
91 | set status-right-length 70 | 95 | set status-right-length 70 |
92 | set -g status-right "#[fg=colour15]#(${cmus-np}/bin/cmus-np) #[fg=colour8]#(${cmus-status}/bin/cmus-status) " | 96 | set -g status-right "#[fg=colour15]#(date +"%H%M") #[fg=colour8]IST " |
93 | set -ag status-right "#[fg=colour15]#(date +"%H%M") #[fg=colour8]hrs " | 97 | set -ag status-right "#[fg=colour15]#(${date-bst}/bin/date-bst) #[fg=colour8]BST " |
94 | set -ag status-right "#[fg=colour15]#(date +"%d/%m")#[fg=colour8] #(date +"%Y")" | 98 | set -ag status-right "#[fg=colour15]#(date +"%d/%m")#[fg=colour8] #(date +"%Y")" |
95 | 99 | ||
96 | # status left | 100 | # status left |
97 | set status-left-length 50 | 101 | set status-left-length 70 |
98 | set -g status-left "#[fg=colour7]#(bat -q) " | 102 | # set -g status-left "#[fg=colour15]#(${cmus-np}/bin/cmus-np) #[fg=colour8]#(${cmus-status}/bin/cmus-status) " |
99 | set -ag status-left "#[fg=colour7]#(${pkgs.prompt}/bin/prompt cwd '#{pane_current_path}') " | 103 | set -g status-left "#[fg=colour7]#(bat -q) " |
100 | set -ag status-left "#[fg=colour7]#(${pkgs.prompt}/bin/prompt vcs '#{pane_current_path}')" | 104 | set -ag status-left "#[fg=colour7]#(${pkgs.prompt}/bin/prompt cwd '#{pane_current_path}')" |
101 | ''; | 105 | ''; |
102 | }; | 106 | }; |
103 | } | 107 | } |