feat: Style cmus with stylix

Based on https://github.com/averms/base16-cmus
This commit is contained in:
Donovan Glover 2023-08-29 20:59:08 -04:00
parent 45284953bb
commit a15fd23b9b
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
3 changed files with 40 additions and 1 deletions

39
home/cmus.nix Normal file
View File

@ -0,0 +1,39 @@
{ pkgs, ... }:
{
home.packages = with pkgs; [ cmus ];
xdg.configFile."cmus/rc".text = /* cmusrc */ ''
colorscheme stylix
'';
xdg.configFile."cmus/stylix.theme".text = /* cmusrc */ ''
set color_win_fg=default
set color_win_bg=default
set color_statusline_fg=2
set color_statusline_bg=default
set color_titleline_fg=2
set color_titleline_bg=default
set color_win_title_fg=2
set color_win_title_bg=default
set color_win_title_attr=bold
set color_cmdline_bg=default
set color_cmdline_fg=default
set color_error=1
set color_info=6
set color_separator=16
set color_win_cur=13
set color_win_cur_sel_bg=default
set color_win_cur_sel_fg=3
set color_win_cur_sel_attr=underline
set color_win_inactive_cur_sel_bg=default
set color_win_inactive_cur_sel_fg=13
set color_win_sel_bg=default
set color_win_sel_fg=3
set color_win_sel_attr=underline
set color_win_inactive_sel_bg=default
set color_win_inactive_sel_fg=1
set color_win_dir=default
'';
}

View File

@ -1,5 +1,6 @@
{
home-manager.sharedModules = [
./cmus.nix
./dunst.nix
./eww.nix
./fcitx.nix

View File

@ -89,7 +89,6 @@
crystalline
thud
pipe-rename
cmus
ironbar
wallust
activate-linux-wayland