(defwidget shortcuts [] (box :visible {jq( jq( jq(workspacesArray, '.[]'), 'select(.focused==true)'), '.num') == 4} :class "shortcuts" :orientation "v" :space-evenly true :halign "center" :width 300 :height 150 (box :orientation "h" :space-evenly true :halign "center" (button :width 60 :height 60 :onclick "hass-cli -a services -e light.penny_room_all_lights -d light -s toggle" (image :image-width 20 :path "icons/home/shortcuts/ceiling-light-multiple.svg" )) (button :width 60 :height 60 :onclick "librewolf-profile Penelope 'https://hass.pogmom.me'" (image :image-width 20 :path "icons/home/shortcuts/home-assistant.svg" ))) (box :orientation "h" :space-evenly true :halign "center" (button :width 60 :height 60 :onclick "librewolf-profile Penelope 'https://cloud.pogmom.me'" (image :image-width 20 :path "icons/home/shortcuts/nextcloud.svg" )) (button :width 60 :height 60 :onclick "librewolf-profile Penelope 'https://masto.pogmom.me'" (image :image-width 20 :path "icons/home/shortcuts/mastodon.svg" )) (button :width 60 :height 60 :onclick "librewolf-profile Penelope 'https://watch.pogmom.me'" (image :image-width 20 :path "icons/home/shortcuts/jellyfin.svg" )))))