From f4ae461a0d90181ceb5a04f49c0a39f8d47492b2 Mon Sep 17 00:00:00 2001 From: Penelope Gwen Date: Tue, 22 Apr 2025 14:45:02 -0700 Subject: [PATCH] New backup 2025-04-22 14:45:02 --- .../{ => personal}/ceiling-light-multiple.svg | 0 .../{ => personal}/home-assistant.svg | 0 .../shortcuts/{ => personal}/jellyfin.svg | 0 .../shortcuts/{ => personal}/mastodon.svg | 0 .../shortcuts/{ => personal}/nextcloud.svg | 0 .../icons/home/shortcuts/work/briefcase.svg | 36 ++++++++++++++ .../home/shortcuts/work/monitor-multiple.svg | 37 +++++++++++++++ .../.config/eww/modules/home/shortcuts.yuck | 47 ++++++++++++------- .../development/.SSH/bridge-netgear-r6250 | 3 ++ .../development/.SSH/router-netgear-r8000 | 3 ++ .../.SSH/server-dell-7050sff-debian | 6 +++ .../.SSH/server-dell-p95g001-debian | 6 +++ .../development/.SSH/server-hp-y2z63av | 6 +++ .../scripts/home/shortcuts/development/SMB | 4 ++ .../scripts/home/shortcuts/development/SSH | 9 ++++ .../scripts/home/shortcuts/work/2nd_monitor | 18 +++++++ .../scripts/home/shortcuts/work/lanecc_links | 11 +++++ 17 files changed, 169 insertions(+), 17 deletions(-) rename de/home/.config/eww/icons/home/shortcuts/{ => personal}/ceiling-light-multiple.svg (100%) rename de/home/.config/eww/icons/home/shortcuts/{ => personal}/home-assistant.svg (100%) rename de/home/.config/eww/icons/home/shortcuts/{ => personal}/jellyfin.svg (100%) rename de/home/.config/eww/icons/home/shortcuts/{ => personal}/mastodon.svg (100%) rename de/home/.config/eww/icons/home/shortcuts/{ => personal}/nextcloud.svg (100%) create mode 100644 de/home/.config/eww/icons/home/shortcuts/work/briefcase.svg create mode 100644 de/home/.config/eww/icons/home/shortcuts/work/monitor-multiple.svg create mode 100755 de/home/.config/eww/scripts/home/shortcuts/development/.SSH/bridge-netgear-r6250 create mode 100755 de/home/.config/eww/scripts/home/shortcuts/development/.SSH/router-netgear-r8000 create mode 100755 de/home/.config/eww/scripts/home/shortcuts/development/.SSH/server-dell-7050sff-debian create mode 100755 de/home/.config/eww/scripts/home/shortcuts/development/.SSH/server-dell-p95g001-debian create mode 100755 de/home/.config/eww/scripts/home/shortcuts/development/.SSH/server-hp-y2z63av create mode 100755 de/home/.config/eww/scripts/home/shortcuts/development/SMB create mode 100755 de/home/.config/eww/scripts/home/shortcuts/development/SSH create mode 100755 de/home/.config/eww/scripts/home/shortcuts/work/2nd_monitor create mode 100755 de/home/.config/eww/scripts/home/shortcuts/work/lanecc_links diff --git a/de/home/.config/eww/icons/home/shortcuts/ceiling-light-multiple.svg b/de/home/.config/eww/icons/home/shortcuts/personal/ceiling-light-multiple.svg similarity index 100% rename from de/home/.config/eww/icons/home/shortcuts/ceiling-light-multiple.svg rename to de/home/.config/eww/icons/home/shortcuts/personal/ceiling-light-multiple.svg diff --git a/de/home/.config/eww/icons/home/shortcuts/home-assistant.svg b/de/home/.config/eww/icons/home/shortcuts/personal/home-assistant.svg similarity index 100% rename from de/home/.config/eww/icons/home/shortcuts/home-assistant.svg rename to de/home/.config/eww/icons/home/shortcuts/personal/home-assistant.svg diff --git a/de/home/.config/eww/icons/home/shortcuts/jellyfin.svg b/de/home/.config/eww/icons/home/shortcuts/personal/jellyfin.svg similarity index 100% rename from de/home/.config/eww/icons/home/shortcuts/jellyfin.svg rename to de/home/.config/eww/icons/home/shortcuts/personal/jellyfin.svg diff --git a/de/home/.config/eww/icons/home/shortcuts/mastodon.svg b/de/home/.config/eww/icons/home/shortcuts/personal/mastodon.svg similarity index 100% rename from de/home/.config/eww/icons/home/shortcuts/mastodon.svg rename to de/home/.config/eww/icons/home/shortcuts/personal/mastodon.svg diff --git a/de/home/.config/eww/icons/home/shortcuts/nextcloud.svg b/de/home/.config/eww/icons/home/shortcuts/personal/nextcloud.svg similarity index 100% rename from de/home/.config/eww/icons/home/shortcuts/nextcloud.svg rename to de/home/.config/eww/icons/home/shortcuts/personal/nextcloud.svg diff --git a/de/home/.config/eww/icons/home/shortcuts/work/briefcase.svg b/de/home/.config/eww/icons/home/shortcuts/work/briefcase.svg new file mode 100644 index 0000000..39cb6e5 --- /dev/null +++ b/de/home/.config/eww/icons/home/shortcuts/work/briefcase.svg @@ -0,0 +1,36 @@ + + + + + + diff --git a/de/home/.config/eww/icons/home/shortcuts/work/monitor-multiple.svg b/de/home/.config/eww/icons/home/shortcuts/work/monitor-multiple.svg new file mode 100644 index 0000000..105c22b --- /dev/null +++ b/de/home/.config/eww/icons/home/shortcuts/work/monitor-multiple.svg @@ -0,0 +1,37 @@ + + + + + + diff --git a/de/home/.config/eww/modules/home/shortcuts.yuck b/de/home/.config/eww/modules/home/shortcuts.yuck index 895321d..07b0f44 100644 --- a/de/home/.config/eww/modules/home/shortcuts.yuck +++ b/de/home/.config/eww/modules/home/shortcuts.yuck @@ -17,7 +17,7 @@ :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" + :path "icons/home/shortcuts/personal/ceiling-light-multiple.svg" )) (button :width 60 @@ -25,7 +25,7 @@ :onclick "librewolf-profile Penelope 'https://hass.pogmom.me'" (image :image-width 20 - :path "icons/home/shortcuts/home-assistant.svg" + :path "icons/home/shortcuts/personal/home-assistant.svg" ))) (box :visible {jq(workspacesArray, '.[]\|select(.focused==true).num') <= 9} @@ -38,7 +38,7 @@ :onclick "librewolf-profile Penelope 'https://cloud.pogmom.me'" (image :image-width 20 - :path "icons/home/shortcuts/nextcloud.svg" + :path "icons/home/shortcuts/personal/nextcloud.svg" )) (button :width 60 @@ -46,7 +46,7 @@ :onclick "librewolf-profile Penelope 'https://masto.pogmom.me'" (image :image-width 20 - :path "icons/home/shortcuts/mastodon.svg" + :path "icons/home/shortcuts/personal/mastodon.svg" )) (button :width 60 @@ -54,7 +54,28 @@ :onclick "librewolf-profile Penelope 'https://watch.pogmom.me'" (image :image-width 20 - :path "icons/home/shortcuts/jellyfin.svg" + :path "icons/home/shortcuts/personal/jellyfin.svg" + ))) + (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/work/lanecc_links" + (image + :image-width 20 + :path "icons/home/shortcuts/work/briefcase.svg" + )) + (button + :width 60 + :height 60 + :onclick "scripts/home/shortcuts/work/2nd_monitor" + (image + :image-width 20 + :path "icons/home/shortcuts/work/monitor-multiple.svg" ))) (box :visible {(jq(workspacesArray, '.[]\|select(.focused==true).num') <= 39) && (jq(workspacesArray, '.[]\|select(.focused==true).num') >= 30)} @@ -64,24 +85,16 @@ (button :width 60 :height 60 - :onclick "librewolf-profile Penelope 'https://cloud.pogmom.me'" + :onclick "scripts/home/shortcuts/work/lanecc_links" (image :image-width 20 - :path "icons/home/shortcuts/nextcloud.svg" + :path "icons/home/shortcuts/work/briefcase.svg" )) (button :width 60 :height 60 - :onclick "librewolf-profile Penelope 'https://masto.pogmom.me'" + :onclick "scripts/home/shortcuts/work/2nd_monitor" (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" + :path "icons/home/shortcuts/work/monitor-multiple.svg" ))))) diff --git a/de/home/.config/eww/scripts/home/shortcuts/development/.SSH/bridge-netgear-r6250 b/de/home/.config/eww/scripts/home/shortcuts/development/.SSH/bridge-netgear-r6250 new file mode 100755 index 0000000..13a5e70 --- /dev/null +++ b/de/home/.config/eww/scripts/home/shortcuts/development/.SSH/bridge-netgear-r6250 @@ -0,0 +1,3 @@ +#!/bin/bash + +alacritty -T ' bridge-netgear-r6250' -e ssh root@bridge-netgear-r6250 diff --git a/de/home/.config/eww/scripts/home/shortcuts/development/.SSH/router-netgear-r8000 b/de/home/.config/eww/scripts/home/shortcuts/development/.SSH/router-netgear-r8000 new file mode 100755 index 0000000..3bf761b --- /dev/null +++ b/de/home/.config/eww/scripts/home/shortcuts/development/.SSH/router-netgear-r8000 @@ -0,0 +1,3 @@ +#!/bin/bash + +alacritty -T ' router-netgear-r8000' -e ssh root@router-netgear-r8000 diff --git a/de/home/.config/eww/scripts/home/shortcuts/development/.SSH/server-dell-7050sff-debian b/de/home/.config/eww/scripts/home/shortcuts/development/.SSH/server-dell-7050sff-debian new file mode 100755 index 0000000..b82f567 --- /dev/null +++ b/de/home/.config/eww/scripts/home/shortcuts/development/.SSH/server-dell-7050sff-debian @@ -0,0 +1,6 @@ +#!/bin/bash + +alacritty -T ' server-dell-7050sff-debian' -e bash -c '\ +eval $(ssh-agent) &> /dev/null; \ +ssh-add ~/.ssh/id_ed25519 &> /dev/null; \ +ssh -A pogmom@server-dell-7050sff-debian' diff --git a/de/home/.config/eww/scripts/home/shortcuts/development/.SSH/server-dell-p95g001-debian b/de/home/.config/eww/scripts/home/shortcuts/development/.SSH/server-dell-p95g001-debian new file mode 100755 index 0000000..fc651b7 --- /dev/null +++ b/de/home/.config/eww/scripts/home/shortcuts/development/.SSH/server-dell-p95g001-debian @@ -0,0 +1,6 @@ +#!/bin/bash + +alacritty -T ' server-dell-p95g001-debian' -e bash -c '\ +eval $(ssh-agent) &> /dev/null; \ +ssh-add ~/.ssh/id_ed25519 &> /dev/null; \ +ssh -A pogmom@server-dell-p95g001-debian' diff --git a/de/home/.config/eww/scripts/home/shortcuts/development/.SSH/server-hp-y2z63av b/de/home/.config/eww/scripts/home/shortcuts/development/.SSH/server-hp-y2z63av new file mode 100755 index 0000000..993d05d --- /dev/null +++ b/de/home/.config/eww/scripts/home/shortcuts/development/.SSH/server-hp-y2z63av @@ -0,0 +1,6 @@ +#!/bin/bash + +alacritty -T ' server-hp-y2z63av' -e bash -c '\ +eval $(ssh-agent) &> /dev/null; \ +ssh-add ~/.ssh/id_ed25519 &> /dev/null; \ +ssh -At pogmom@server-hp-y2z63av' diff --git a/de/home/.config/eww/scripts/home/shortcuts/development/SMB b/de/home/.config/eww/scripts/home/shortcuts/development/SMB new file mode 100755 index 0000000..2da1b72 --- /dev/null +++ b/de/home/.config/eww/scripts/home/shortcuts/development/SMB @@ -0,0 +1,4 @@ +#!/bin/bash + +#dolphin "smb://server-hp-y2z63av/Media" +samba-wofi diff --git a/de/home/.config/eww/scripts/home/shortcuts/development/SSH b/de/home/.config/eww/scripts/home/shortcuts/development/SSH new file mode 100755 index 0000000..5709ef6 --- /dev/null +++ b/de/home/.config/eww/scripts/home/shortcuts/development/SSH @@ -0,0 +1,9 @@ +#!/bin/bash + +dirname $0 + +options=$( ls "$(dirname $0)/.SSH/" ) + +op=$( echo -e "${options}" | wofi -i --dmenu | awk '{print}' ) + +"$(dirname $0)/.SSH/${op}" diff --git a/de/home/.config/eww/scripts/home/shortcuts/work/2nd_monitor b/de/home/.config/eww/scripts/home/shortcuts/work/2nd_monitor new file mode 100755 index 0000000..a16c91c --- /dev/null +++ b/de/home/.config/eww/scripts/home/shortcuts/work/2nd_monitor @@ -0,0 +1,18 @@ +#!/bin/bash + +swaymsg workspace number '39:' +connected_displays=`swaymsg -rt get_outputs | jq .[].name` +if echo "${connected_displays}" | grep -q 'DP-7';then + swaymsg move workspace to output DP-7 +elif echo "${connected_displays}" | grep -q 'DP-6';then + swaymsg move workspace to output DP-6 +elif echo "${connected_displays}" | grep -q 'HDMI-A-1';then + swaymsg move workspace to output HDMI-A-1 +fi + +librewolf-profile Work 'https://library.lanecc.edu/' \ +'https://inside.lanecc.edu/sites/default/files/pg/map_2024_ltr.pdf' \ +'https://lanecc.libcal.com/allspaces' \ +'https://library.lanecc.edu/study-rooms#maps' + +swaymsg move window to workspace number '39:' diff --git a/de/home/.config/eww/scripts/home/shortcuts/work/lanecc_links b/de/home/.config/eww/scripts/home/shortcuts/work/lanecc_links new file mode 100755 index 0000000..c02fad1 --- /dev/null +++ b/de/home/.config/eww/scripts/home/shortcuts/work/lanecc_links @@ -0,0 +1,11 @@ +#!/bin/bash + +#sp-profiles Work + +librewolf-profile Work 'https://app.slack.com/client/' \ +'https://mail.google.com/mail/u/0/#inbox' \ +'https://na01.alma.exlibrisgroup.com/ng/?institute=01ALLIANCE_LANECC&auth=local' \ +'https://calendar.google.com/calendar/u/0/r' \ +'https://25live.collegenet.com/pro/lanecc#!/home/calendar' \ +'https://10.16.0.209:9192/admin' \ +'https://drive.google.com'