From e5b8f44bb81ea736f144c0fdbc839be0493c7cb3 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Tue, 22 Apr 2025 14:30:02 -0700 Subject: [PATCH] New backup 2025-04-22 14:30:02 --- .../.config/eww/modules/home/shortcuts.yuck | 34 +++++++++++++++++-- 1 file changed, 32 insertions(+), 2 deletions(-) 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"