creton32 6 months ago
parent
commit
8dfd0b2710
  1. 9
      audio/.config/ncmpcpp/config
  2. 20
      bin/.local/bin/tri
  3. BIN
      browser/.mozilla/firefox/profile/bookmarks.html
  4. 4
      term/.config/rmuxinator/media.toml
  5. BIN
      util/dev/todo/taskell.md
  6. 3
      video/.config/mpv/input.conf

9
audio/.config/ncmpcpp/config

@ -29,8 +29,7 @@ statusbar_color = default
statusbar_time_color = blue
song_list_format = {%a - }{%t}|{%f}$R{(%l)}
song_status_format = {{%a{ "%b"{ (%y)}} - }{%t}}|{%f}
song_columns_list_format = (50){t|f: Title}
song_columns_list_format = (50)[]{a} (50)[]{t|f: Title})
song_library_format = {%n - }{%t}|{%f}
user_interface = classic
@ -41,10 +40,10 @@ centered_cursor = no
use_console_editor = yes
external_editor = "nvim"
now_playing_prefix = "$b$r$5  "
now_playing_suffix = "$/r$/b"
now_playing_prefix = "$b$r$(blue)  "
now_playing_suffix = "$/r$/b$(end)"
current_item_prefix = "$(blue)$r"
current_item_prefix = "$r$(blue)"
current_item_suffix = "$/r$(end)"
current_item_inactive_column_prefix = $(blue)$1$r
current_item_inactive_column_suffix = $/r$(end)

20
bin/.local/bin/tri

@ -53,14 +53,18 @@ wallpaper() {
dl() {
[ -n "$2" ] &&
case "$2" in
"https://www.youtube.com/"*|\
*"soundcloud.com/"*)
notify-send -i folder-download "youtube-dl" "Downloading "$2" ..." &&
youtube-dl -x --embed-thumbnail \
--audio-format mp3 --add-metadata \
-o "~/music/%(title)s.%(ext)s" "$2" 2>/dev/null &&
notify-send "youtube-dl" "Finished downloading "$2""
;;
--m)
case "$3" in
"https://www.youtube.com/"*|\
*"soundcloud.com/"*)
notify-send -i folder-download "youtube-dl" "Downloading "$3" ..." &&
youtube-dl -x --embed-thumbnail \
--audio-format mp3 --add-metadata \
-o "~/music/%(title)s.%(ext)s" "$3" 2>/dev/null &&
notify-send "youtube-dl" "Finished downloading "$3""
;;
esac
;;
esac
}

BIN
browser/.mozilla/firefox/profile/bookmarks.html

Binary file not shown.

4
term/.config/rmuxinator/media.toml

@ -9,13 +9,13 @@ name = "media"
name = "NeoMutt"
[[windows.panes]]
commands = ["nmt"]
commands = ["sleep 2", "nmt"]
[[windows]]
name = "WeeChat"
[[windows.panes]]
commands = ["sleep 2", "weechat"]
commands = ["sleep 3", "weechat"]
[[windows]]
name = "Newsboat"

BIN
util/dev/todo/taskell.md

Binary file not shown.

3
video/.config/mpv/input.conf

@ -21,6 +21,9 @@ Shift+p add chapter -1
# Copy the url to clipboard
y run "/bin/sh" "-c" "printf ${filename} | xclip -selection clipboard"
# Download the current playing media
D run "/bin/sh" "-c" "tri -d --m ${path}"
# For long videos thumbnails must be manually requested
alt+g script-binding generate-thumbnails

Loading…
Cancel
Save