Skip to content

Commit

Permalink
feat: remove mpd
Browse files Browse the repository at this point in the history
  • Loading branch information
sioodmy committed Oct 31, 2023
1 parent eeab964 commit 117d8cd
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 102 deletions.
102 changes: 1 addition & 101 deletions home/misc/media.nix
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
{
config,
pkgs,
...
}: {
home.packages = with pkgs; [mpc_cli playerctl pavucontrol pulsemixer imv];
home.packages = with pkgs; [playerctl pavucontrol pulsemixer imv];
programs = {
mpv = {
enable = true;
Expand All @@ -17,103 +16,4 @@
plugins = with pkgs.obs-studio-plugins; [wlrobs];
};
};
services.mpd = {
enable = true;
network = {
listenAddress = "any";
port = 6600;
};
extraConfig = ''
audio_output {
type "pipewire"
name "pipewire"
}
auto_update "yes"
'';
};
services.mpdris2 = {
enable = true;
notifications = true;
mpd = {
host = "127.0.0.1";
};
};

programs.ncmpcpp = {
enable = true;
package = pkgs.ncmpcpp;
settings = {
ncmpcpp_directory = "/home/sioodmy/.config/ncmpcpp";
mpd_crossfade_time = 2;
lyrics_directory = "/home/sioodmy/.cache/lyrics";
progressbar_look = "▃▃▃";
progressbar_elapsed_color = 5;
progressbar_color = "black";
media_library_primary_tag = "album_artist";
follow_now_playing_lyrics = "yes";
connected_message_on_startup = "no";
ignore_leading_the = "yes";
screen_switcher_mode = "playlist, media_library";
song_columns_list_format = "(50)[]{t|fr:Title} (0)[blue]{a}";
song_list_format = "$8%a - %t$R %l";
song_library_format = "{{%a - %t} (%b)}|{%f}";
song_status_format = "$7%t";
song_window_title_format = "Now Playing ..";
now_playing_prefix = "$b$6 ";
now_playing_suffix = " $/b$8";
current_item_prefix = "$b$6";
current_item_suffix = " $/b$8";
statusbar_color = "white";
color1 = "white";
color2 = "blue";
header_visibility = "no";
statusbar_visibility = "no";
titles_visibility = "no";
enable_window_title = "yes";
cyclic_scrolling = "yes";
mouse_support = "yes";
mouse_list_scroll_whole_page = "yes";
lines_scrolled = "1";
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";
display_bitrate = "no";
external_editor = "hx";
main_window_color = "default";
startup_screen = "playlist";
visualizer_data_source = "/tmp/mpd.fifo";
visualizer_output_name = "Visualizer";
visualizer_in_stereo = "no";
visualizer_type = "ellipse";
visualizer_fps = "60";
visualizer_look = "●▮";
visualizer_color = "33,39,63,75,81,99,117,153,189";
};
bindings = [
{
key = "j";
command = "scroll_down";
}
{
key = "k";
command = "scroll_up";
}
{
key = "J";
command = ["select_item" "scroll_down"];
}
{
key = "K";
command = ["select_item" "scroll_up"];
}
];
};
}
1 change: 0 additions & 1 deletion home/packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
caprine-bin
pulseaudio
onefetch
thunderbird
pfetch-rs
qrcp
nheko
Expand Down

0 comments on commit 117d8cd

Please sign in to comment.