From 51810b5c07e20982ebdf66f0bfb384c4bf55ad7d Mon Sep 17 00:00:00 2001 From: Akshay Date: Wed, 22 Jul 2020 08:04:08 +0530 Subject: squash again --- cmus/.config/cmus/cmus-status-display.sh | 8 +++++ cmus/.config/cmus/nerdz.theme | 57 ++++++++++++++++++++++++++++++++ 2 files changed, 65 insertions(+) create mode 100755 cmus/.config/cmus/cmus-status-display.sh create mode 100644 cmus/.config/cmus/nerdz.theme (limited to 'cmus/.config') diff --git a/cmus/.config/cmus/cmus-status-display.sh b/cmus/.config/cmus/cmus-status-display.sh new file mode 100755 index 0000000..83dae0d --- /dev/null +++ b/cmus/.config/cmus/cmus-status-display.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +artist=$( cmus-remote -Q | grep tag\ artist\ | sed 's/tag artist //' ) +title=$( cmus-remote -Q | grep tag\ title\ | sed 's/tag title //' ) +album=$( cmus-remote -Q | grep tag\ album\ | sed 's/tag album //' ) + +xdotool key "ctrl+space" &> /dev/null +notify-send -u low "${title}" "${album} ยท ${artist}" diff --git a/cmus/.config/cmus/nerdz.theme b/cmus/.config/cmus/nerdz.theme new file mode 100644 index 0000000..1cc89b7 --- /dev/null +++ b/cmus/.config/cmus/nerdz.theme @@ -0,0 +1,57 @@ +# Directory colors +set color_win_dir=default + +# Normal text +set color_win_fg=242 + +# Window background color. +set color_win_bg=default + +# Command line color. +set color_cmdline_bg=default +set color_cmdline_fg=default + +# Color of error messages displayed on the command line. +set color_error=lightred + +# Color of informational messages displayed on the command line. +set color_info=lightyellow + +# Color of currently playing track. +set color_win_cur=5 + +# Color of the separator line between windows in view (1). +set color_separator=254 + +# Color of window titles (topmost line of the screen). +set color_win_title_bg=default +set color_win_title_fg=black + +# Status line color. +set color_statusline_bg=default +set color_statusline_fg=gray + +# Color of the line displaying currently playing track. +set color_titleline_bg=0 +set color_titleline_fg=5 + +# Color of the selected row which is also the currently playing track in active window. +set color_win_cur_sel_bg=0 +set color_win_cur_sel_fg=15 + +# Color of the selected row which is also the currently playing track in inactive window. +set color_win_inactive_cur_sel_bg=0 +set color_win_inactive_cur_sel_fg=15 + +# Color of selected row in inactive window. +set color_win_inactive_sel_bg=0 +set color_win_inactive_sel_fg=15 + +# Color of selected row in active window. +set color_win_sel_bg=0 +set color_win_sel_fg=15 + +# Command line color. +set color_cmdline_bg=default +set color_cmdline_fg=default + -- cgit v1.2.3