feat(eww): make Disconnected msg not scroll

This commit is contained in:
matt1432 2023-08-08 21:36:21 -04:00
parent 972b7be1c9
commit c761802037
3 changed files with 11 additions and 8 deletions

View file

@ -56,7 +56,7 @@
.sub-label {
font-size: 14px;
margin-top: -10px;
margin-left: -10px;
margin-left: 0px;
margin-bottom: 10px;
padding: 3px;
border: 2px solid $contrastbg;
@ -64,7 +64,7 @@
border-top-left-radius: 10px;
border-bottom-left-radius: 10px;
border-bottom-right-radius: 20px;
min-width: 90px;
min-width: 106px;
background: #1b1b1b;
}

View file

@ -156,7 +156,7 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(box :orientation "h"
:space-evenly true
:spacing 60
:spacing 34
:width 0
:height 0
:halign "center"
@ -166,21 +166,24 @@
:class "sub-label"
:width 0
:height 0
:limit-width 10
:xalign 0.4
:limit-width 12
)
(label :text "${bluetooth_dev}"
:class "sub-label"
:width 0
:height 0
:limit-width 10
:xalign 0.4
:limit-width 12
)
(label :text ""
:class ""
:width 0
:height 0
:limit-width 10
:xalign 0.4
:limit-width 12
)
)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

View file

@ -2,11 +2,11 @@
(deflisten heart_icon "tail -f $HOME/.config/.heart")
(deflisten mic_icon "$EWW_PATH/mic.sh icon")
(deflisten network_ssid "zscroll -d 0.7 -l 10 -p '. ' -u true \"$EWW_PATH/network.sh ssid\"")
(deflisten network_ssid "zscroll -d 0.7 -l 12 -p '. ' -u true \"$EWW_PATH/network.sh ssid\"")
(deflisten network_icon "$EWW_PATH/network.sh icon")
(defpoll network_radio :interval "1s" "$EWW_PATH/network.sh radio-status")
(deflisten bluetooth_dev "zscroll -d 0.7 -l 10 -p '. ' -u true \"$EWW_PATH/bluetooth.sh device\"")
(deflisten bluetooth_dev "zscroll -d 0.7 -l 12 -p '. ' -u true \"$EWW_PATH/bluetooth.sh device\"")
(deflisten bluetooth_icon "$EWW_PATH/bluetooth.sh icon")
(deflisten volume_icon "$EWW_PATH/volume.sh icon")