New backup 2025-04-07 16:15:02
This commit is contained in:
parent
328cfe32df
commit
181cf8076e
4 changed files with 5 additions and 3 deletions
|
@ -66,6 +66,7 @@
|
|||
(include "modules/bar/scratchpad.yuck")
|
||||
|
||||
;centergroup
|
||||
(include "variables/bar/music.yuck")
|
||||
(include "modules/bar/music.yuck")
|
||||
|
||||
;rightgroup
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
:revealvar-name "reveal_battery"
|
||||
(button :onclick 'notify-send battery lol'
|
||||
: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?')}%"}`})
|
||||
`${(EWW_BATTERY == "" || jq(EWW_BATTERY,'.[].status?') == '"Charging"') ? "" : ""}${(EWW_BATTERY == "") ? "" : "${jq(EWW_BATTERY,'.[].capacity?')}%"}`)
|
||||
(battery_children)))
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
// (deflisten music :initial ""
|
||||
// "playerctl --follow metadata --format '{{ title }}' || true")
|
||||
;; (deflisten music :initial ""
|
||||
;; "playerctl --follow metadata --format '{{ title }}' || true")
|
||||
|
||||
(defwidget music []
|
||||
(box :class {nowplaying != "" ? "music" : "hidden"}
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
|
||||
playerctl --follow metadata --format '{{ title }}' | {
|
||||
while read -r nowplaying_title; do
|
||||
echo "${nowplaying_title}" | head -c 15;
|
||||
echo "${nowplaying_title}" | head -c 50;
|
||||
done
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue