From 620839c418611e6dddb9f28fa15cc883b9bae432 Mon Sep 17 00:00:00 2001 From: joy Date: Fri, 11 Oct 2024 14:40:50 +0200 Subject: [PATCH] theming cli apps --- modules/programs/home/cmus/default.nix | 25 ++++++++++++++++++++++ modules/programs/home/newsboat/default.nix | 4 ++-- modules/programs/home/tmux/default.nix | 5 +++++ 3 files changed, 32 insertions(+), 2 deletions(-) diff --git a/modules/programs/home/cmus/default.nix b/modules/programs/home/cmus/default.nix index 7cedc81..a03eb48 100644 --- a/modules/programs/home/cmus/default.nix +++ b/modules/programs/home/cmus/default.nix @@ -1,5 +1,30 @@ { programs.cmus = { enable = true; + extraConfig = '' + set color_win_fg=15 + set color_win_bg=0 + set color_win_title_bg=0 + set color_win_title_fg=15 + set color_separator=4 + set color_titleline_bg=0 + set color_titleline_fg=15 + set color_statusline_bg=8 + set color_statusline_fg=15 + set color_cmdline_bg=0 + set color_cmdline_fg=15 + set color_error=167 + set color_info=214 + set color_win_cur=4 + set color_win_cur_sel_bg=8 + set color_win_cur_sel_fg=4 + set color_win_inactive_cur_sel_bg=0 + set color_win_inactive_cur_sel_fg=4 + set color_win_sel_bg=8 + set color_win_sel_fg=15 + set color_win_inactive_sel_bg=0 + set color_win_inactive_sel_fg=15 + set color_win_dir=15 + ''; }; } diff --git a/modules/programs/home/newsboat/default.nix b/modules/programs/home/newsboat/default.nix index 6e10290..3971939 100644 --- a/modules/programs/home/newsboat/default.nix +++ b/modules/programs/home/newsboat/default.nix @@ -138,8 +138,8 @@ color background color15 color0 color listnormal color15 color0 color listnormal_unread color15 color0 bold - color listfocus color15 color4 - color listfocus_unread color15 color4 bold + color listfocus color4 color8 + color listfocus_unread color4 color8 bold color info color15 color8 color article color15 color0 diff --git a/modules/programs/home/tmux/default.nix b/modules/programs/home/tmux/default.nix index 5210b9f..0a78493 100644 --- a/modules/programs/home/tmux/default.nix +++ b/modules/programs/home/tmux/default.nix @@ -3,6 +3,11 @@ enable = true; extraConfig = '' set-option -g status off + # Ensure tmux uses 256 colors + set -g default-terminal "tmux-256color" + + # Enable true colors (24-bit color) in tmux + set-option -ga terminal-overrides ",xterm-256color:Tc" ''; }; }