XDG complian ncmpcpp

This commit is contained in:
Dominic Adamson
2021-03-20 08:15:41 -06:00
parent 130943948b
commit a9a1da0f0c
4 changed files with 17 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
# ____ _____
# ____ _____
# | _ \_ _| Derek Taylor (DistroTube)
# | | | || | http://www.youtube.com/c/DistroTube
# | |_| || | http://www.gitlab.com/dwt1/
# | |_| || | http://www.gitlab.com/dwt1/
# |____/ |_|
#
# My fish config. Not much to see here; just some pretty standard stuff.
@@ -17,7 +17,7 @@ set VISUAL "emacsclient -c -a emacs" # $VISUAL use Emacs in GUI mod
### Uncomment only one of these!
### "bat" as manpager
set -x MANPAGER "sh -c 'col -bx | bat -l man -p'"
set -x MANPAGER "sh -c 'col -bx | bat -l man -p'"
### "vim" as manpager
# set -x MANPAGER '/bin/bash -c "vim -MRn -c \"set buftype=nofile showtabline=0 ft=man ts=8 nomod nolist norelativenumber nonu noma\" -c \"normal L\" -c \"nmap q :qa<CR>\"</dev/tty <(col -b)"'
@@ -208,7 +208,7 @@ alias clear='clear; echo; echo; seq 1 (tput cols) | sort -R | spark | lolcat; ec
alias doas="doas --"
# navigation
alias ..='cd ..'
alias ..='cd ..'
alias ...='cd ../..'
alias .3='cd ../../..'
alias .4='cd ../../../..'
@@ -267,6 +267,7 @@ alias df='df -h' # human-readable sizes
alias free='free -m' # show sizes in MB
alias lynx='lynx -cfg=~/.lynx/lynx.cfg -lss=~/.lynx/lynx.lss -vikeys'
alias vifm='./.config/vifm/scripts/vifmrun'
alias ncmpcpp='ncmpcpp ncmpcpp_directory=/Users/alichtman/.config/ncmpcpp/'
## get top process eating memory
alias psmem='ps auxf | sort -nr -k 4'

66
.config/ncmpcpp/config Executable file
View File

@@ -0,0 +1,66 @@
# mpd stuff
mpd_host = "localhost"
mpd_port = "6600"
mpd_music_dir = "/home/derek/Music"
mpd_connection_timeout = "5"
# visualizer
visualizer_fifo_path = "/tmp/mpd.fifo"
visualizer_output_name = "my_fifo"
visualizer_sync_interval = "30"
visualizer_in_stereo = "yes"
visualizer_type = "spectrum"
visualizer_look = "+|"
# appearance
song_list_format = "$3{%l}$9 $1│$9 $5{%a}$9 $1│$9 $2{%t}$9 $R $6{%b}$9 $7({%y})$9 $1│$9 $4{%n}"
song_status_format = "{%a} - {%t}|{%f} - \"{%b}\" ({%y})"
now_playing_prefix = "$b"
now_playing_suffix = "$/b"
browser_playlist_prefix = "$2playlist$9 "
selected_item_prefix = "$6"
selected_item_suffix = "$9"
playlist_display_mode = "columns" # (classic/columns)
browser_display_mode = "columns" #(classic/columns)
autocenter_mode = "yes"
progressbar_look = "━━╸"
user_interface = "classic" #(classic/alternative)
header_visibility = "no"
statusbar_visibility = "yes"
titles_visibility = "no"
header_text_scrolling = "yes"
cyclic_scrolling = "no"
display_volume_level = "no"
display_bitrate = "yes"
display_remaining_time = "no"
# colors
colors_enabled = "yes"
header_window_color = "blue"
volume_color = "blue"
state_line_color = "green"
state_flags_color = "red"
main_window_color = "blue"
color1 = "red"
color2 = "magenta"
main_window_highlight_color = "cyan"
progressbar_color = "blue"
statusbar_color = "default"
alternative_ui_separator_color = "green"
active_column_color = "magenta"
visualizer_color = "blue"
window_border_color = "magenta"
active_window_border = "blue"
# more stuff
playlist_disable_highlight_delay = "3"
message_delay_time = "4"
default_find_mode = "wrapped" #(wrapped/normal)
follow_now_playing_lyrics = "yes"
store_lyrics_in_song_dir = "yes"
jump_to_now_playing_song_at_start = "yes"
clock_display_seconds = "yes"
ignore_leading_the = "yes"
mouse_support = "no"
empty_tag_marker = "-"
enable_window_title = "yes"