chore: push for tonight

This commit is contained in:
Ruben 2024-04-21 22:39:52 -05:00
commit fd2ddc84cb
No known key found for this signature in database
GPG key ID: AE181294E97E4802
2 changed files with 78 additions and 9 deletions

View file

@ -45,11 +45,6 @@
xdg.userDirs.enable = true;
# dotfiles
# ncmpcpp
home.file.".config/ncmpcpp" = {
source = ./config/ncmpcpp;
recursive = true;
};
# modified zsh plugins
home.file.".config/zsh" = {
source = ./config/zsh;

View file

@ -39,7 +39,6 @@
figlet
yt-dlp
mpdris2
ncmpcpp
firefox
thunderbird
@ -75,7 +74,6 @@
mpv
mpdris2
mpd-discord-rpc
nextcloud-client
watchmate
obs-studio
@ -177,6 +175,7 @@
programs.starship = {
enable = true;
settings = pkgs.lib.importTOML ./config/starship.toml;
catppuccin.enable = true;
};
# fuzzy command finder, required by a decent amount of things
@ -208,7 +207,7 @@
font.name = "JetBrainsMono NF";
font.size = 11.8;
theme = "Catppuccin-Mocha";
catppuccin.enable = true;
settings = {
cursor_shape = "beam";
@ -260,13 +259,14 @@
enable = true;
dataDir = "${config.home.homeDirectory}/.config/mpd";
musicDirectory = "${config.home.homeDirectory}/Music";
musicDirectory = "${config.xdg.userDirs.music}";
playlistDirectory = "${config.home.homeDirectory}/.config/mpd/playlists";
dbFile = "${config.home.homeDirectory}/.config/mpd/db";
extraConfig = ''
state_file_interval "120"
restore_paused "yes"
auto_update "yes"
audio_output {
type "pipewire"
@ -274,4 +274,78 @@
}
'';
};
# mpd client
programs.ncmpcpp = {
enable = true;
mpdMusicDir = "~/Music";
settings = {
# genderal
lyrics_directory = "~/.config/mpd/lyrics";
connected_message_on_startup = "yes";
cyclic_scrolling = "yes";
mouse_support = "yes";
mouse_list_scroll_whole_page = "yes";
lines_scrolled = "3";
message_delay_time = "1";
playlist_shorten_total_times = "yes";
playlist_display_mode = "columns";
browser_display_mode = "columns";
search_engine_display_mode = "columns";
playlist_editor_display_mode = "columns";
autocenter_mode = "yes";
centered_cursor = "yes";
user_interface = "classic";
locked_screen_width_part = "50";
ask_for_locked_screen_width_part = "yes";
external_editor = "nvim";
main_window_color = "default";
startup_screen = "playlist";
# ui elements visbility
header_visibility = "yes";
statusbar_visibility = "yes";
titles_visibility = "yes";
enable_window_title = "yes";
display_volume_level = "yes";
# ui theming
statusbar_color = "white";
color1 = "white";
color2 = "green";
progressbar_look = "󰮯󰧟";
progressbar_elapsed_color = "green";
progressbar_color = "black";
now_playing_prefix = "$b$3$3 ";
now_playing_suffix = " $/b$8";
current_item_prefix = "$b$7$/b$5 ";
current_item_suffix = " $8";
song_columns_list_format = "(50)[]{t|fr:Title} (0)[cyan]{a}";
song_list_format = " {%t $R $8%a$8}|{%f $R $8%l$8} $8";
song_status_format = "$6 {$3$b%t$/b} $1 $5󰀥 {$7$b%b$/b} $1 $4󰠃 {$8$b%a$/b}";
song_window_title_format = "{%a -}{ %t}";
};
};
# mpd discord rich presense
services.mpd-discord-rpc = {
enable = true;
settings = {
id = 1165747824231723149;
format = {
details = "$title";
state = "$artist - $album";
timestamp = "elapsed";
large_image = "blobcatheadphones";
small_image = "blobfoxheadphones";
large_text = "$album by $artist";
small_text = "i love music";
};
};
};
}