diff --git a/de/home/.config/eww/modules/home/shortcuts.yuck b/de/home/.config/eww/modules/home/shortcuts.yuck index 05f590c..895321d 100644 --- a/de/home/.config/eww/modules/home/shortcuts.yuck +++ b/de/home/.config/eww/modules/home/shortcuts.yuck @@ -1,13 +1,13 @@ (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 + :height 75 (box + :visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 9} :orientation "h" :space-evenly true :halign "center" @@ -28,6 +28,36 @@ :path "icons/home/shortcuts/home-assistant.svg" ))) (box + :visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 9} + :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" + ))) + (box + :visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 39) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 30)} :orientation "h" :space-evenly true :halign "center"