New backup 2025-07-17 23:45:07

This commit is contained in:
Penelope Gwen 2025-07-17 23:45:07 -07:00
parent f9e0cab8f8
commit 228d68119d
4 changed files with 7 additions and 7 deletions

View file

@ -7,7 +7,7 @@
:class {(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? "active" : "" }
; :tooltip "${jq(EWW_BATTERY,'.[].capacity?')}%"
; {(EWW_BATTERY == "") ? "" : `${(jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? " ${jq(EWW_BATTERY,'.[].capacity?')}%" : " ${jq(EWW_BATTERY,'.[].capacity?')}%"}`})
:text `${(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? " " : " "}${(EWW_BATTERY == "") ? "" : "${jq(EWW_BATTERY,'.[].capacity?')}%"}`)
:text `${(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? " " : "󰁹 "}${(EWW_BATTERY == "") ? "" : "${jq(EWW_BATTERY,'.[].capacity?')}%"}`)
(battery_children)))
; ${jq(EWW_BATTERY,'.[].capacity?')}%"}
(defwidget battery_children []

View file

@ -5,7 +5,7 @@
:revealvar-name "reveal_network"
(button :onclick 'nm-connection-editor'
:class {network_status.wifi || network_status.wired ? "active" : ""}
"")
"󰇧")
(network_children)))
(defwidget network_children []
@ -18,4 +18,4 @@
"")
(button :onclick {network_status.wired ? 'scripts/bar/network-updown ethernet down' : 'scripts/bar/network-updown ethernet up'}
:class {network_status.wired ? "active" : ""}
"🖧")))
"󰈀")))

View file

@ -15,7 +15,7 @@
:halign "center"
(button :onclick 'scripts/bar/nmcli-vpn "HomeVPN"'
:class {network_status.homevpn ? "active" : ""}
{network_status.homevpn ? "" : ""})
{network_status.homevpn ? " " : " "})
(button :onclick 'scripts/bar/nmcli-vpn "Proton SE-NL"'
:class {network_status.proton ? "active" : ""}
{network_status.proton ? "" : ""})))
{network_status.proton ? "󰇧 " : "󰇧 "})))

View file

@ -17,9 +17,9 @@
:xalign 0
:wrap false
:truncate true
:text "${replace(note.filepath,"${get_env("HOME")}/Documents/Notes/",'')}")
:text "󰎞 ${replace(note.filepath,"${get_env("HOME")}/Documents/Notes/",'')}")
(label
:xalign 0.5
:class "timestamp"
:text "${formattime("${note.date}","%F %R")}"))))
:text "${formattime("${note.date}","%F %R")}"))))
))