diff --git a/.config/xmonad b/.config/xmonad index 554ddd3..0b7b647 160000 --- a/.config/xmonad +++ b/.config/xmonad @@ -1 +1 @@ -Subproject commit 554ddd36b403feaf0c5fa53c42ae5e2474e6921f +Subproject commit 0b7b647daa018a1df41d0aa2de371bf5572a8c5a diff --git a/.doom.d/config.el b/.doom.d/config.el index de26b42..91c0acf 100644 --- a/.doom.d/config.el +++ b/.doom.d/config.el @@ -34,7 +34,7 @@ ;; 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'. (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: ;; diff --git a/.doom.d/splash/mfdoom.png b/.doom.d/splash/mfdoom.png new file mode 100644 index 0000000..c9bcf9b Binary files /dev/null and b/.doom.d/splash/mfdoom.png differ diff --git a/.profile b/.profile index 0eb01d9..3bcb337 100644 --- a/.profile +++ b/.profile @@ -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 diff --git a/.scripts/get_music_info b/.scripts/get_music_info index 5354740..9cd4e9c 100755 --- a/.scripts/get_music_info +++ b/.scripts/get_music_info @@ -1,2 +1,14 @@ #!/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