From 226133c542b6966bf9051e829c87e2db1ac5ec21 Mon Sep 17 00:00:00 2001 From: Yorick Barbanneau Date: Wed, 11 Sep 2024 22:32:39 +0200 Subject: [PATCH] chore(cmus): remove useless config file --- files/config/cmus/notify.sh | 35 ----------------------- files/config/cmus/rc | 56 ------------------------------------- 2 files changed, 91 deletions(-) delete mode 100755 files/config/cmus/notify.sh delete mode 100644 files/config/cmus/rc diff --git a/files/config/cmus/notify.sh b/files/config/cmus/notify.sh deleted file mode 100755 index fc09f36..0000000 --- a/files/config/cmus/notify.sh +++ /dev/null @@ -1,35 +0,0 @@ -#!/bin/bash -# -#CMUS notification -# -body="" - -while [ "$#" -ge 2 ] -do - printf -v "$1" "%s" "$2" - shift - shift -done - -filename=${file#*/} -image=${file%/*}/cover.jpg -[ -f "$image" ] && options="$options -i \"${image}\"" - -title=${title:-$filename} - -if [ -n "$artist" ] -then - body="$body $artist\n" -fi - -if [ -n "$album" ] -then - body="$body $album" -fi - -if [ -n "$date" ] -then - body="$body ${date%%-*}" -fi -body=${body:-'no informations'} -notify-send --app-name=cmus -i "$image" "$title" "$body" diff --git a/files/config/cmus/rc b/files/config/cmus/rc deleted file mode 100644 index ea71c79..0000000 --- a/files/config/cmus/rc +++ /dev/null @@ -1,56 +0,0 @@ -## Base16 Default Dark - -# overall background and foreground color -set color_win_fg=7 -set color_win_bg=0 - -# bottom status line -set color_statusline_fg=20 -set color_statusline_bg=19 - -# bottom title line -set color_titleline_fg=7 -set color_titleline_bg=18 - -# top title area -set color_win_title_fg=20 -set color_win_title_bg=19 -set color_win_title_attr=bold - -# command-line colors -set color_cmdline_bg=default -set color_cmdline_fg=default -set color_error=1 -set color_info=6 - -# separator of windows -# should be black -set color_separator=16 - -# unselected currently playing track's text -set color_win_cur=13 - -# active selection for currently playing track -set color_win_cur_sel_bg=20 -set color_win_cur_sel_fg=0 -set color_win_cur_sel_attr=none - -# inactive selection for currently playing track -set color_win_inactive_cur_sel_bg=8 -set color_win_inactive_cur_sel_fg=21 - -# active selection -set color_win_sel_bg=6 -set color_win_sel_fg=0 -set color_win_sel_attr=none - -# inactive selection -set color_win_inactive_sel_bg=19 -set color_win_inactive_sel_fg=20 - -# directory listing color -set color_win_dir=default - -set status_display_program=~/.config/cmus/notify.sh - -add -l ~/medias/music