diff --git a/de/home/.config/eww/eww.scss b/de/home/.config/eww/eww.scss index 0f69073..baad57a 100644 --- a/de/home/.config/eww/eww.scss +++ b/de/home/.config/eww/eww.scss @@ -307,7 +307,7 @@ $home-widget-border-hover-color: rgba($color5,0.3); // background-color: $home-widget-bg-color; color: $home-button-fg-color; // margin: 0px; - padding: 5px; + padding: 8px; .weather-subtitle{ font-size: 0.8em; color: $home-widget-subtitle-color; diff --git a/de/home/.config/eww/modules/home/weather.yuck b/de/home/.config/eww/modules/home/weather.yuck index 9837d69..79520b4 100644 --- a/de/home/.config/eww/modules/home/weather.yuck +++ b/de/home/.config/eww/modules/home/weather.yuck @@ -21,7 +21,6 @@ :class "weather" :orientation "v" :width 250 - :height 100 :space-evenly true "${json.condition} ${json.icon}" "${json.current_temp}󰔅  / ${json.humidity}% " diff --git a/de/home/.config/eww/scripts/home/nowplaying-info.sh b/de/home/.config/eww/scripts/home/nowplaying-info.sh new file mode 100755 index 0000000..2e82077 --- /dev/null +++ b/de/home/.config/eww/scripts/home/nowplaying-info.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +#playerctl --follow metadata --format '{{ title }}' | { +playerctl metadata --format '{{ title }}\n{{ artist }}' + +#playerctl metadata --format '{{ title }}\n{{ artist }}' | { +# while read -r nowplaying_title; do +# if [ ${#nowplaying_title} -ge 45 ];then +# echo "${nowplaying_title:0:40}…" +# else +# echo "${nowplaying_title}" +# fi +# echo "${nowplaying_title}" | head -c 50; +# done +#}