diff --git a/de/home/.config/eww/eww.scss b/de/home/.config/eww/eww.scss index b085bd7..a78cefe 100644 --- a/de/home/.config/eww/eww.scss +++ b/de/home/.config/eww/eww.scss @@ -148,12 +148,15 @@ revealer.home { box-shadow: inset 0 0 0px 2px $home-widget-border-color, 0px 0px 9px 0px $home-widget-bg-color; } .minecraft { - .server_image { + .icon { background-repeat: no-repeat; background-position: center; background-size: cover; margin: 10px; } + .details { + margin: 10px; + } } .weather { color: $home-button-fg-color; diff --git a/de/home/.config/eww/modules/home/mcstatus.yuck b/de/home/.config/eww/modules/home/mcstatus.yuck index 0ba4716..3c919ca 100644 --- a/de/home/.config/eww/modules/home/mcstatus.yuck +++ b/de/home/.config/eww/modules/home/mcstatus.yuck @@ -23,22 +23,26 @@ :space-evenly true (for server in json (box + :class 'server' :orientation 'h' :space-evenly false (box - :class 'server_image' + :class 'icon' :width 75 :height 75 :style 'background-image: url("${server.icon_path}");' ) (box + :class 'details' :orientation 'v' (label :text "${server.address}" ) (label :text "${replace(server.status.motd,'ยง.','')}" - :truncate true + :wrap true + :wrap-mode 'word' +; :truncate true ) ) )