change music info source

This commit is contained in:
qvalentin 2021-10-22 14:01:55 +02:00
parent 826468d54d
commit d33b9b4670
5 changed files with 16 additions and 4 deletions

@ -1 +1 @@
Subproject commit 554ddd36b403feaf0c5fa53c42ae5e2474e6921f Subproject commit 0b7b647daa018a1df41d0aa2de371bf5572a8c5a

View File

@ -34,7 +34,7 @@
;; This determines the style of line numbers in effect. If set to `nil', line ;; This determines the style of line numbers in effect. If set to `nil', line
;; numbers are disabled. For relative line numbers, set this to `relative'. ;; numbers are disabled. For relative line numbers, set this to `relative'.
(setq display-line-numbers-type t) (setq display-line-numbers-type t)
(setq fancy-splash-image (concat doom-private-dir "splash/mfdoom.png"))
;; Here are some additional functions/macros that could help you configure Doom: ;; Here are some additional functions/macros that could help you configure Doom:
;; ;;

BIN
.doom.d/splash/mfdoom.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

View File

@ -1,4 +1,4 @@
# #
export PATH=$PATH:/home/qv/.local/bin:/home/qv/.ghcup/bin:/home/qv/.scripts:/home/qv/.emacs.d/bin export PATH=$PATH:/home/qv/.local/bin:/home/qv/.ghcup/bin:/home/qv/.scripts:/home/qv/.emacs.d/bin:/opt/texlive/2021/bin/x86_64-linux

View File

@ -1,2 +1,14 @@
#!/bin/sh #!/bin/sh
head ~/.wnpClient/wnpClient.txt -n 2 | sed ':a;N;$!ba;s/\n/ by /g'
status=$(playerctl status -a)
title=$(playerctl metadata title)
artist=$(playerctl metadata artist)
if [[ $status =~ Playing ]]; then
length=${#title}
if [ $length -gt 35 ]; then
echo "$title"
else
echo "$title by $artist"
fi
fi