mirror of
https://github.com/kristoferssolo/solorice.git
synced 2026-02-04 06:32:03 +00:00
Update 2025-05-31
Update 2025-05-06 Update 2025-05-09 Update 2025-05-11 Update 2025-05-13 Update 2025-05-18 Update 2025-05-19 Update 2025-05-24 Update 2025-05-27 Update 2025-05-29 Update 2025-05-31
This commit is contained in:
@@ -146,6 +146,10 @@ clock_time {
|
||||
margin: 0px 10px 0px 10px;
|
||||
}
|
||||
|
||||
.module-wifi {
|
||||
margin: 0 10px;
|
||||
}
|
||||
|
||||
.separ {
|
||||
color: $highlight_med;
|
||||
font-weight: bold;
|
||||
@@ -472,3 +476,11 @@ calendar:indeterminate {
|
||||
min-width: 120px;
|
||||
margin: 0px 0px 20px 0px;
|
||||
}
|
||||
|
||||
.activate-linux {
|
||||
color: rgba(250, 250, 250, 0.5);
|
||||
|
||||
&.background {
|
||||
background: none;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -99,12 +99,12 @@
|
||||
:tooltip "Battery on ${EWW_BATTERY.BAT0.capacity}%"
|
||||
:show_truncated false
|
||||
:wrap false
|
||||
"${EWW_BATTERY.BAT0.status == "Charging" ? "" :
|
||||
EWW_BATTERY.BAT0.capacity > 90 ? "" :
|
||||
EWW_BATTERY.BAT0.capacity > 70 ? "" :
|
||||
EWW_BATTERY.BAT0.capacity > 40 ? "" :
|
||||
EWW_BATTERY.BAT0.capacity > 20 ? "" :
|
||||
""}"
|
||||
;; "${EWW_BATTERY.BAT0.status == "Charging" ? "" :
|
||||
;; EWW_BATTERY.BAT0.capacity > 90 ? "" :
|
||||
;; EWW_BATTERY.BAT0.capacity > 70 ? "" :
|
||||
;; EWW_BATTERY.BAT0.capacity > 40 ? "" :
|
||||
;; EWW_BATTERY.BAT0.capacity > 20 ? "" :
|
||||
;; ""}"
|
||||
))))
|
||||
|
||||
|
||||
@@ -124,7 +124,7 @@
|
||||
:tooltip "Using ${memory}% ram"
|
||||
:show_truncated false
|
||||
:wrap false
|
||||
""))))
|
||||
))))
|
||||
|
||||
|
||||
|
||||
@@ -311,12 +311,12 @@
|
||||
:class "sys_bat"
|
||||
:thickness 9
|
||||
(label
|
||||
:text "${EWW_BATTERY.BAT0.status == "Charging" ? "" :
|
||||
EWW_BATTERY.BAT0.capacity > 90 ? "" :
|
||||
EWW_BATTERY.BAT0.capacity > 70 ? "" :
|
||||
EWW_BATTERY.BAT0.capacity > 40 ? "" :
|
||||
EWW_BATTERY.BAT0.capacity > 20 ? "" :
|
||||
""}"
|
||||
;; :text "${EWW_BATTERY.BAT0.status == "Charging" ? "" :
|
||||
;; EWW_BATTERY.BAT0.capacity > 90 ? "" :
|
||||
;; EWW_BATTERY.BAT0.capacity > 70 ? "" :
|
||||
;; EWW_BATTERY.BAT0.capacity > 40 ? "" :
|
||||
;; EWW_BATTERY.BAT0.capacity > 20 ? "" :
|
||||
;; ""}"
|
||||
:interval "5m"
|
||||
:class "sys_icon_bat ${EWW_BATTERY.BAT0.capacity} syst_icon_bat__${EWW_BATTERY.BAT0.status} ${EWW_BATTERY.BAT0.capacity < 20 ? "sys_icon_bat__low" : ""}"
|
||||
:limit-width 2
|
||||
@@ -350,7 +350,7 @@
|
||||
:show_truncated false
|
||||
:wrap false)))
|
||||
(label
|
||||
:text ""
|
||||
:text ""
|
||||
:class "sys_sep"
|
||||
:halign "center")
|
||||
(box
|
||||
@@ -363,7 +363,6 @@
|
||||
:class "sys_mem"
|
||||
:thickness 9
|
||||
(label
|
||||
:text ""
|
||||
:class "sys_icon_mem"
|
||||
:limit-width 2
|
||||
:show_truncated false
|
||||
@@ -566,3 +565,16 @@
|
||||
(box :class "window"
|
||||
(label :text "${window}")))
|
||||
|
||||
(defwidget activate-linux []
|
||||
(box
|
||||
:orientation "v"
|
||||
:halign "start"
|
||||
:valign "start"
|
||||
(label :xalign 0 :markup "<span font_size=\"large\">Activate Linux</span>")
|
||||
(label :xalign 0 :text "Go to Settings to activate Linux")))
|
||||
|
||||
(defwindow activate-linux
|
||||
:monitor 0
|
||||
:stacking "fg"
|
||||
:geometry (geometry :x "8px" :y "64px" :width "420px" :anchor "bottom right")
|
||||
(activate-linux))
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
status=$(nmcli g | \grep -oE "disconnected")
|
||||
essid=$(nmcli c | \grep wlan0 | awk '{print ($1)}')
|
||||
|
||||
if [ $status ] ; then
|
||||
if [ $status ]; then
|
||||
icon=""
|
||||
text=""
|
||||
col="#575268"
|
||||
@@ -16,8 +16,7 @@ fi
|
||||
if [[ "$1" == "--COL" ]]; then
|
||||
echo $col
|
||||
elif [[ "$1" == "--ESSID" ]]; then
|
||||
echo $text
|
||||
echo $text
|
||||
elif [[ "$1" == "--ICON" ]]; then
|
||||
echo $icon
|
||||
echo $icon
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user