New backup 2026-03-02 10:29:51

This commit is contained in:
Penelope Gwen 2026-03-02 10:29:51 -08:00
parent ee893f8df6
commit 80d654e787
5 changed files with 78 additions and 127 deletions

View file

@ -102,12 +102,20 @@ suspend_cmd = ["systemctl", "suspend"]
# command = "ssh-agent-handler.sh server-asus-n705fd 󱫋" # command = "ssh-agent-handler.sh server-asus-n705fd 󱫋"
[[profiles]] [[profiles]]
name = "School" name = "Housing"
icon = "󰻺" icon = "󰻺"
[profiles.program_args] [profiles.program_args]
browser = [ "School", "--new-window", "https://classes.lanecc.edu" ] browser = [ "Housing", "--new-window", "https://eugenesca.com" ]
browser_newtab = [ "School", "--new-tab", "https://classes.lanecc.edu" ] browser_newtab = [ "Housing", "--new-tab", "https://eugenesca.com" ]
filemanager = [ "~/Documents/School/College/LaneCC/2026-01_Winter" ] filemanager = [ "~/Documents/Housing/SCA/" ]
[[profiles.scripts]]
name = "House Meeting Minutes"
icon = ""
command = "~/.config/sway-de-utils/scripts/housing/new-minutes.sh house"
[[profiles.scripts]]
name = "Board Meeting Minutes"
icon = ""
command = "~/.config/sway-de-utils/scripts/housing/new-minutes.sh board"
[[profiles]] [[profiles]]
name = "Work" name = "Work"
@ -119,8 +127,8 @@ suspend_cmd = ["systemctl", "suspend"]
[[profiles.scripts]] [[profiles.scripts]]
name = "LCC Links" name = "LCC Links"
icon = "" icon = ""
command = "" command = "~/.config/sway-de-utils/scripts/work/lanecc_links"
[[profiles.scripts]] [[profiles.scripts]]
name = "Second Monitor" name = "Second Monitor"
icon = "󰍺" icon = "󰍺"
command = "" command = "~/.config/sway-de-utils/scripts/work/2nd_monitor"

View file

@ -1,121 +0,0 @@
preserve_keyboard_order = false
window_icons = [
["󰖟"," — LibreWolf"],
[""," — Alacritty"],
[""," - VSCodium"],
[""," — Dolphin"]
]
# Programs
[programs.filemanager]
name = "Dolphin"
command = "dolphin"
arguments = ["--new-window"]
[programs.browser]
name = "Librewolf"
command = "librewolf"
# arguments = ["--no-remote", "-P"]
arguments = ["-P"]
[programs.browser_newtab]
name = "Librewolf (New Tab)"
command = "librewolf"
arguments = ["-P"]
[lock]
wallpaper_path = "~/.config/sway/assets/wallpaper"
blur = 10.0
scale = 0.75
[[scripts]]
name = "Printer"
icon = ""
command = "librewolf-profile Penelope 'http://printer-hp-dj3630/'"
[[scripts]]
name = "Swap Workstation"
icon = ""
command = "notify-send 'todo!'"
[[scripts]]
name = "scrcpy"
icon = ""
command = "notify-send 'todo!'"
# Profiles
[[profiles]]
name = "Penelope"
icon = ""
[profiles.program_args]
browser = [ "Penelope", "--new-window", "https://cloud.pogmom.me" ]
browser_newtab = [ "Penelope", "https://cloud.pogmom.me" ]
filemanager = [ "~/Documents" ]
[[profiles.scripts]]
name = "Light Toggle"
icon = "󱣝"
command = "hass-cli -a services -I area_id -i left_bedroom -d light -s toggle"
[[profiles.scripts]]
name = "Home Assistant"
icon = "󰟐"
command = "librewolf 'https://hass.pogmom.me'"
[[profiles.scripts]]
name = "Nextcloud"
icon = ""
command = "librewolf 'https://cloud.pogmom.me'"
[[profiles.scripts]]
name = "Mastodon"
icon = "󰫑"
command = "librewolf 'https://masto.pogmom.me'"
[[profiles.scripts]]
name = "Jellyfin"
icon = ""
command = "librewolf 'https://watch.pogmom.me'"
[[profiles]]
name = "Development"
icon = ""
[profiles.program_args]
browser = [ "Development", "--new-window", "https://hass.pogmom.me" ]
browser_newtab = [ "Development", "--new-tab", "https://hass.pogmom.me" ]
filemanager = [ "~/Development" ]
[[profiles.scripts]]
name = "bridge-netgear-r8000"
icon = "󱂇"
command = "ssh-agent-handler.sh root@router-netgear-r8000 󱂇"
[[profiles.scripts]]
name = "bridge-netgear-r8000"
icon = "󰑩"
command = "ssh-agent-handler.sh root@bridge-netgear-r8000 󰑩"
[[profiles.scripts]]
name = "server-dell-7050sff-debian"
icon = "󰒍"
command = "ssh-agent-handler.sh pogmom@server-dell-7050sff-debian 󰒍"
[[profiles.scripts]]
name = "server-hp-y2z63av"
icon = "󰢋"
command = "ssh-agent-handler.sh pogmom@server-hp-y2z63av 󰢋"
#[[profiles.scripts]]
# name = "server-asus-n705fd"
# icon = "󱫋"
# command = "ssh-agent-handler.sh server-asus-n705fd 󱫋"
[[profiles]]
name = "School"
icon = "󰻺"
[profiles.program_args]
browser = [ "School", "--new-window", "https://classes.lanecc.edu" ]
browser_newtab = [ "School", "--new-tab", "https://classes.lanecc.edu" ]
filemanager = [ "~/Documents/School/College/LaneCC/2026-01_Winter" ]
[[profiles]]
name = "Work"
icon = ""
[profiles.program_args]
browser = [ "Work", "--new-window", "https://lanecc.edu" ]
browser_newtab = [ "Work", "--new-tab", "https://lanecc.edu" ]
filemanager = [ "~/Documents/Work/LaneCC" ]
[[profiles.scripts]]
name = "LCC Links"
icon = ""
command = ""
[[profiles.scripts]]
name = "Second Monitor"
icon = "󰍺"
command = ""

View file

@ -0,0 +1,38 @@
#!/bin/bash
if [[ -z ${1} ]]; then
echo "meeting type not defined!"
notify-send "meeting type not defined!"
exit
fi
minutes_dir="${HOME}/Documents/Housing/SCA/Meetings"
template_dir="${minutes_dir}/templates"
case "$1" in
board)
meeting_type=Board
;;
house)
meeting_type=House
;;
*)
echo "invalid meeting type!"
notify-send "invalid meeting type!"
exit
;;
esac
year=$(date +%Y)
month=$(date +%m)
month_locale=$(date +%b)
day=$(date +%d)
minutes_path="${minutes_dir}/${meeting_type} Meetings/${year}-${month}-${day}.wiki"
meeting_template="${template_dir}/${1}_meeting"
printf '* %s %s, %s at the [house]\n' "${month_locale}" "${day}" "${year}" >"${minutes_path}"
cat "${meeting_template}" | tail -n+2 | sed 's/ //g' >>"${minutes_path}"
cd "${template_dir}"
alacritty -e nvim "${minutes_path}"

View file

@ -0,0 +1,17 @@
#!/bin/bash
connected_displays=$(swaymsg -rt get_outputs | jq -r .[].name)
for display in {DP-7,DP-6,HDMI-A-1}; do
if [[ ${connected_displays} == *"${display}"* ]]; then
echo swaymsg workspace "39:" output "${display}"
fi
done
swaymsg workspace number '39:'
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' \
'https://my.livechatinc.com/home'

View file

@ -0,0 +1,9 @@
#!/bin/bash
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://titanprint.lanecc.edu/admin' \
'https://drive.google.com'