New backup 2026-02-17 12:30:02
This commit is contained in:
parent
4b4ffcb784
commit
aa765d2396
3 changed files with 8 additions and 5 deletions
|
|
@ -7,7 +7,7 @@
|
|||
(button :onclick 'notify-send "TODO"'
|
||||
:class "revealer-preview ${(jq(network_manager.vpns, '[ .[] | select(.active=="yes") ] | length') > 0 ? 'active' : 'inactive')}"
|
||||
"${(jq(network_manager.vpns, '[ .[] | select(.active=="yes") ] | length') > 0 ? '' : '')}")
|
||||
(vpn_children :array "${network_manager.vpns}")))
|
||||
(vpn_children :array "${jq(network_manager.vpns,'.|sort_by(.name)')}")))
|
||||
|
||||
(defwidget vpn_children [array]
|
||||
(box :class "reveal-children"
|
||||
|
|
@ -22,7 +22,9 @@
|
|||
( vpn.name =~ '.*[Ff]ull.*' ? '' : '') :
|
||||
( vpn.name =~ '^pia-.*' ?
|
||||
( vpn.name =~ '.*local.*' ? '' : '' ) :
|
||||
'' )
|
||||
( vpn.name == 'SCA' ?
|
||||
'' :
|
||||
'') )
|
||||
)} ${( vpn.active == 'yes' ? '' : '' )}"
|
||||
)
|
||||
)
|
||||
|
|
|
|||
|
|
@ -14,7 +14,8 @@
|
|||
(defwidget nowplayingbar []
|
||||
; (centerbox
|
||||
(box
|
||||
:visible {jq(nowplaying_info,'.title','r') != ""}
|
||||
:visible true
|
||||
; :visible {jq(nowplaying_info,'.title','r') != ""}
|
||||
:orientation 'v'
|
||||
:class "nowplayingbar"
|
||||
:space-evenly false
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
playerctl --follow metadata --format '{"status":"{{lc(status)}}","artist":"{{artist}}","title":"{{trunc(title,23)}}"}'
|
||||
playerctl --follow metadata --format '{"status":"{{lc(status)}}","artist":"{{artist}}","title":"{{markup_escape(trunc(title,23))}}"}'
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue