diff --git a/env/.config/hypr/hyprkeybinds.conf b/env/.config/hypr/hyprkeybinds.conf index 676ad1b..773f26c 100644 --- a/env/.config/hypr/hyprkeybinds.conf +++ b/env/.config/hypr/hyprkeybinds.conf @@ -41,7 +41,7 @@ bindd = $mainMod, A, [A]i - launch / focus, exec, bindd = $mainMod SHIFT, A, [A]i - new window, exec, $pwa "https://ollama.housh.dev" bindd = $mainMod, B, New [b]rowser, exec, $browser bindd = $mainMod SHIFT, B, New private [b]rowser, exec, $browser --incognito -bindd = $mainMod, C, [C]alendar, exec, $pwa --or-focus "https://www.icloud.com/calendar" +bindd = $mainMod, C, [C]alendar, togglespecialworkspace, calendar bindd = $mainMod SHIFT, C, [C]onfig folder in tmux session, exec, $terminal -e $tmuxSessionator ~/.config bindd = $mainMod, D, [D]ispatch app - special workspace, togglespecialworkspace, dispatch bindd = $mainMod SHIFT, D, [D]ispatch app - new window, exec, $pwa --new $housecallPro diff --git a/env/.config/hypr/hyprworkspaces.conf b/env/.config/hypr/hyprworkspaces.conf index 7c4dba8..42f9e8a 100644 --- a/env/.config/hypr/hyprworkspaces.conf +++ b/env/.config/hypr/hyprworkspaces.conf @@ -12,3 +12,4 @@ workspace = special:hidden, invisible workspace = special:pass,on-created-empty: $pwa "https://pass.proton.me" workspace = special:dispatch,on-created-empty: $housecallPro && $housecallPro workspace = special:music,on-created-empty: ghostty --class=com.ghostty.music -e jellyfin-tui +workspace = special:calendar,on-created-empty: uwsm app -- gnome-calendar diff --git a/env/.config/qcal/config.json b/env/.config/qcal/config.json new file mode 100644 index 0000000..7c070f3 --- /dev/null +++ b/env/.config/qcal/config.json @@ -0,0 +1,12 @@ +{ + "Calendars": [ + { + "Url":"https://calendar.housh.dev/michael/08546d61-deca-cc2e-bb3a-cdb7dd10691b/", + "Username":"michael", + "Password":"", + "PasswordCmd": "/bin/gopass show --password Sites/calendar.housh.dev/calendar/michael" + } + ], + "Timezone": "America/New_York", + "DefaultNumDays":30 +} diff --git a/runs/after/calendar b/runs/after/calendar new file mode 100755 index 0000000..c8ce029 --- /dev/null +++ b/runs/after/calendar @@ -0,0 +1,20 @@ +#!/usr/bin/env bash + +install() { + mkdir ~/pkgbuilds &>/dev/null + git clone https://github.com/psic4t/qcal.git ~/pkgbuilds/qcal + pushd ~/pkgbuilds/qcal || exit 1 + ( + make && sudo make install + ) + popd +} + +uninstall() { + sudo rm /usr/local/bin/qcal + rm -rf ~/pkgbuilds/qcal +} + +arg=${1:-""} +[[ $arg == "install" ]] && install +[[ $arg == "uninstall" ]] && uninstall diff --git a/runs/calendar b/runs/calendar new file mode 100644 index 0000000..5ccc856 --- /dev/null +++ b/runs/calendar @@ -0,0 +1,3 @@ +go +gnome-calendar +gnome-keyring