139 lines
4 KiB
Text
139 lines
4 KiB
Text
(defwidget shortcuts []
|
|
(box
|
|
:class "shortcuts"
|
|
:orientation "v"
|
|
:space-evenly true
|
|
:halign "center"
|
|
:width 300
|
|
:height 75
|
|
(box
|
|
:visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 9}
|
|
:orientation "h"
|
|
:space-evenly true
|
|
:halign "center"
|
|
(button
|
|
:width 60
|
|
:height 60
|
|
:onclick "hass-cli -a services -I area_id -i left_bedroom -d light -s toggle"
|
|
(label
|
|
:justify "center"
|
|
:text ""))
|
|
(button
|
|
:width 60
|
|
:height 60
|
|
:onclick "librewolf-profile Penelope 'https://hass.pogmom.me'"
|
|
(label
|
|
:justify "center"
|
|
:text "")))
|
|
(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'"
|
|
(label
|
|
:justify "center"
|
|
:text ""))
|
|
(button
|
|
:width 60
|
|
:height 60
|
|
:onclick "librewolf-profile Penelope 'https://masto.pogmom.me'"
|
|
(label
|
|
:justify "center"
|
|
:text ""))
|
|
(button
|
|
:width 60
|
|
:height 60
|
|
:onclick "librewolf-profile Penelope 'https://watch.pogmom.me'"
|
|
(label
|
|
:justify "center"
|
|
:text "")))
|
|
(box
|
|
:visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 19) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 10)}
|
|
:orientation "h"
|
|
:space-evenly true
|
|
:halign "center"
|
|
(button
|
|
:width 60
|
|
:height 60
|
|
:onclick "dolphin 'smb://server-hp-y2z63av'"
|
|
:tooltip "smb://server-hp-y2z63av"
|
|
(label
|
|
:justify "center"
|
|
:text ""))
|
|
(button
|
|
:width 60
|
|
:height 60
|
|
:onclick "scripts/home/shortcuts/development/router-netgear-r8000"
|
|
:tooltip "router-netgear-r8000"
|
|
(label
|
|
:justify "center"
|
|
:text ""))
|
|
(button
|
|
:width 60
|
|
:height 60
|
|
:onclick "scripts/home/shortcuts/development/bridge-netgear-r6700"
|
|
:tooltip "bridge-netgear-r6700"
|
|
(label
|
|
:justify "center"
|
|
:text "")))
|
|
(box
|
|
:visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 19) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 10)}
|
|
:orientation "h"
|
|
:space-evenly true
|
|
:halign "center"
|
|
(button
|
|
:width 60
|
|
:height 60
|
|
:onclick "scripts/home/shortcuts/development/server-asus-n705fd-debian"
|
|
:tooltip "server-asus-n705fd-debian"
|
|
(label
|
|
:justify "center"
|
|
:text ""))
|
|
;; (button
|
|
;; :width 60
|
|
;; :height 60
|
|
;; :onclick "scripts/home/shortcuts/development/server-nintendo-rvl101"
|
|
;; :tooltip "server-nintendo-wii-rvl101"
|
|
;; (label
|
|
;; :justify "center"
|
|
;; :text ""))
|
|
(button
|
|
:width 60
|
|
:height 60
|
|
:onclick "scripts/home/shortcuts/development/server-hp-y2z63av"
|
|
:tooltip "server-hp-y2z63av"
|
|
(label
|
|
:justify "center"
|
|
:text ""))
|
|
(button
|
|
:width 60
|
|
:height 60
|
|
:onclick "scripts/home/shortcuts/development/server-dell-7050sff-debian"
|
|
:tooltip "server-dell-7050sff-debian"
|
|
(label
|
|
:justify "center"
|
|
:text "")))
|
|
(box
|
|
:visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 39) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 30)}
|
|
:orientation "h"
|
|
:space-evenly true
|
|
:halign "center"
|
|
(button
|
|
:width 60
|
|
:height 60
|
|
:onclick "scripts/home/shortcuts/work/lanecc_links"
|
|
(label
|
|
:justify "center"
|
|
:text ""))
|
|
(button
|
|
:width 60
|
|
:height 60
|
|
:onclick "scripts/home/shortcuts/work/2nd_monitor"
|
|
(label
|
|
:justify "center"
|
|
:text ""
|
|
)))))
|