From df59e376f2761bbf98258337bd1b8ae1a1659bd2 Mon Sep 17 00:00:00 2001 From: Noah Masur <7386960+nmasur@users.noreply.github.com> Date: Tue, 14 Jun 2022 07:32:27 -0400 Subject: [PATCH] hammerspoon and reorganize old files to legacy --- {macos => legacy}/bin/biggest | 0 {macos => legacy}/bin/biggest-files | 0 {macos => legacy}/bin/connect_aws/Dockerfile | 0 {macos => legacy}/bin/connect_aws/connect_cloud.py | 0 {macos => legacy}/bin/connect_aws/connect_cloud.sh | 0 {macos => legacy}/bin/connect_aws/requirements.txt | 0 {macos => legacy}/bin/docker_cleanup | 0 {macos => legacy}/bin/gh-repos | 0 {macos => legacy}/bin/jira-checkout | 0 {macos => legacy}/bin/jira-details | 0 {macos => legacy}/bin/kube-dashboard | 0 {macos => legacy}/bin/newest | 0 {macos => legacy}/bin/ocr | 0 {macos => legacy}/bin/oldest | 0 {macos => legacy}/bin/pod | 0 {macos => legacy}/bin/quick-edit | 0 {macos => legacy}/bin/symlinks | 0 {macos => legacy}/bin/uplink-delete-bucket | 0 {macos => legacy}/bin/url-decode | 0 {macos => legacy}/bin/weather_cached | 0 {macos => legacy}/homebrew/Caskfile | 0 {macos => legacy}/homebrew/core.Brewfile | 0 {macos => legacy}/homebrew/devops.Brewfile | 0 {macos => legacy}/homebrew/fun.Brewfile | 0 {macos => legacy}/homebrew/learning.Brewfile | 0 {macos => legacy}/homebrew/programming.Brewfile | 0 {macos => legacy}/homebrew/utils.Brewfile | 0 {mail => legacy/mail}/backup/rclone.cronjob | 0 {mail => legacy/mail}/backup/setup_uplink | 0 {macos => legacy}/newsboat/com.noah.newsboat.plist | 0 {macos => legacy}/newsboat/config | 0 {macos => legacy}/nix-env.fish | 0 {macos => legacy}/scripts/bootstrap | 0 {macos => legacy}/scripts/brews | 0 {macos => legacy}/scripts/cargos | 0 {macos => legacy}/scripts/casks | 0 {macos => legacy}/scripts/configure_macos | 0 {macos => legacy}/scripts/npm | 0 {macos => legacy}/scripts/rust | 0 {macos => legacy}/scripts/setup_cheatsheet | 0 {macos => legacy}/scripts/setup_fish | 0 {macos => legacy}/scripts/setup_symlinks | 0 {macos => legacy}/scripts/setup_ytfzf | 0 {macos => legacy}/scripts/update_rust_analyzer | 0 {macos => legacy}/tmux/tmux.conf.symlink | 0 .../darwin}/hammerspoon/Spoons/ControlEscape.spoon/init.lua | 0 .../DismissAlerts.spoon/close_notifications_applescript.js | 0 .../darwin}/hammerspoon/Spoons/DismissAlerts.spoon/init.lua | 0 .../darwin}/hammerspoon/Spoons/Launcher.spoon/init.lua | 0 .../darwin}/hammerspoon/Spoons/MoveWindow.spoon/init.lua | 0 {macos => modules/darwin}/hammerspoon/init.lua | 0 modules/darwin/utilities.nix | 2 ++ 52 files changed, 2 insertions(+) rename {macos => legacy}/bin/biggest (100%) rename {macos => legacy}/bin/biggest-files (100%) rename {macos => legacy}/bin/connect_aws/Dockerfile (100%) rename {macos => legacy}/bin/connect_aws/connect_cloud.py (100%) rename {macos => legacy}/bin/connect_aws/connect_cloud.sh (100%) rename {macos => legacy}/bin/connect_aws/requirements.txt (100%) rename {macos => legacy}/bin/docker_cleanup (100%) rename {macos => legacy}/bin/gh-repos (100%) rename {macos => legacy}/bin/jira-checkout (100%) rename {macos => legacy}/bin/jira-details (100%) rename {macos => legacy}/bin/kube-dashboard (100%) rename {macos => legacy}/bin/newest (100%) rename {macos => legacy}/bin/ocr (100%) rename {macos => legacy}/bin/oldest (100%) rename {macos => legacy}/bin/pod (100%) rename {macos => legacy}/bin/quick-edit (100%) rename {macos => legacy}/bin/symlinks (100%) rename {macos => legacy}/bin/uplink-delete-bucket (100%) rename {macos => legacy}/bin/url-decode (100%) rename {macos => legacy}/bin/weather_cached (100%) rename {macos => legacy}/homebrew/Caskfile (100%) rename {macos => legacy}/homebrew/core.Brewfile (100%) rename {macos => legacy}/homebrew/devops.Brewfile (100%) rename {macos => legacy}/homebrew/fun.Brewfile (100%) rename {macos => legacy}/homebrew/learning.Brewfile (100%) rename {macos => legacy}/homebrew/programming.Brewfile (100%) rename {macos => legacy}/homebrew/utils.Brewfile (100%) rename {mail => legacy/mail}/backup/rclone.cronjob (100%) rename {mail => legacy/mail}/backup/setup_uplink (100%) rename {macos => legacy}/newsboat/com.noah.newsboat.plist (100%) rename {macos => legacy}/newsboat/config (100%) rename {macos => legacy}/nix-env.fish (100%) rename {macos => legacy}/scripts/bootstrap (100%) rename {macos => legacy}/scripts/brews (100%) rename {macos => legacy}/scripts/cargos (100%) rename {macos => legacy}/scripts/casks (100%) rename {macos => legacy}/scripts/configure_macos (100%) rename {macos => legacy}/scripts/npm (100%) rename {macos => legacy}/scripts/rust (100%) rename {macos => legacy}/scripts/setup_cheatsheet (100%) rename {macos => legacy}/scripts/setup_fish (100%) rename {macos => legacy}/scripts/setup_symlinks (100%) rename {macos => legacy}/scripts/setup_ytfzf (100%) rename {macos => legacy}/scripts/update_rust_analyzer (100%) rename {macos => legacy}/tmux/tmux.conf.symlink (100%) rename {macos => modules/darwin}/hammerspoon/Spoons/ControlEscape.spoon/init.lua (100%) rename {macos => modules/darwin}/hammerspoon/Spoons/DismissAlerts.spoon/close_notifications_applescript.js (100%) rename {macos => modules/darwin}/hammerspoon/Spoons/DismissAlerts.spoon/init.lua (100%) rename {macos => modules/darwin}/hammerspoon/Spoons/Launcher.spoon/init.lua (100%) rename {macos => modules/darwin}/hammerspoon/Spoons/MoveWindow.spoon/init.lua (100%) rename {macos => modules/darwin}/hammerspoon/init.lua (100%) diff --git a/macos/bin/biggest b/legacy/bin/biggest similarity index 100% rename from macos/bin/biggest rename to legacy/bin/biggest diff --git a/macos/bin/biggest-files b/legacy/bin/biggest-files similarity index 100% rename from macos/bin/biggest-files rename to legacy/bin/biggest-files diff --git a/macos/bin/connect_aws/Dockerfile b/legacy/bin/connect_aws/Dockerfile similarity index 100% rename from macos/bin/connect_aws/Dockerfile rename to legacy/bin/connect_aws/Dockerfile diff --git a/macos/bin/connect_aws/connect_cloud.py b/legacy/bin/connect_aws/connect_cloud.py similarity index 100% rename from macos/bin/connect_aws/connect_cloud.py rename to legacy/bin/connect_aws/connect_cloud.py diff --git a/macos/bin/connect_aws/connect_cloud.sh b/legacy/bin/connect_aws/connect_cloud.sh similarity index 100% rename from macos/bin/connect_aws/connect_cloud.sh rename to legacy/bin/connect_aws/connect_cloud.sh diff --git a/macos/bin/connect_aws/requirements.txt b/legacy/bin/connect_aws/requirements.txt similarity index 100% rename from macos/bin/connect_aws/requirements.txt rename to legacy/bin/connect_aws/requirements.txt diff --git a/macos/bin/docker_cleanup b/legacy/bin/docker_cleanup similarity index 100% rename from macos/bin/docker_cleanup rename to legacy/bin/docker_cleanup diff --git a/macos/bin/gh-repos b/legacy/bin/gh-repos similarity index 100% rename from macos/bin/gh-repos rename to legacy/bin/gh-repos diff --git a/macos/bin/jira-checkout b/legacy/bin/jira-checkout similarity index 100% rename from macos/bin/jira-checkout rename to legacy/bin/jira-checkout diff --git a/macos/bin/jira-details b/legacy/bin/jira-details similarity index 100% rename from macos/bin/jira-details rename to legacy/bin/jira-details diff --git a/macos/bin/kube-dashboard b/legacy/bin/kube-dashboard similarity index 100% rename from macos/bin/kube-dashboard rename to legacy/bin/kube-dashboard diff --git a/macos/bin/newest b/legacy/bin/newest similarity index 100% rename from macos/bin/newest rename to legacy/bin/newest diff --git a/macos/bin/ocr b/legacy/bin/ocr similarity index 100% rename from macos/bin/ocr rename to legacy/bin/ocr diff --git a/macos/bin/oldest b/legacy/bin/oldest similarity index 100% rename from macos/bin/oldest rename to legacy/bin/oldest diff --git a/macos/bin/pod b/legacy/bin/pod similarity index 100% rename from macos/bin/pod rename to legacy/bin/pod diff --git a/macos/bin/quick-edit b/legacy/bin/quick-edit similarity index 100% rename from macos/bin/quick-edit rename to legacy/bin/quick-edit diff --git a/macos/bin/symlinks b/legacy/bin/symlinks similarity index 100% rename from macos/bin/symlinks rename to legacy/bin/symlinks diff --git a/macos/bin/uplink-delete-bucket b/legacy/bin/uplink-delete-bucket similarity index 100% rename from macos/bin/uplink-delete-bucket rename to legacy/bin/uplink-delete-bucket diff --git a/macos/bin/url-decode b/legacy/bin/url-decode similarity index 100% rename from macos/bin/url-decode rename to legacy/bin/url-decode diff --git a/macos/bin/weather_cached b/legacy/bin/weather_cached similarity index 100% rename from macos/bin/weather_cached rename to legacy/bin/weather_cached diff --git a/macos/homebrew/Caskfile b/legacy/homebrew/Caskfile similarity index 100% rename from macos/homebrew/Caskfile rename to legacy/homebrew/Caskfile diff --git a/macos/homebrew/core.Brewfile b/legacy/homebrew/core.Brewfile similarity index 100% rename from macos/homebrew/core.Brewfile rename to legacy/homebrew/core.Brewfile diff --git a/macos/homebrew/devops.Brewfile b/legacy/homebrew/devops.Brewfile similarity index 100% rename from macos/homebrew/devops.Brewfile rename to legacy/homebrew/devops.Brewfile diff --git a/macos/homebrew/fun.Brewfile b/legacy/homebrew/fun.Brewfile similarity index 100% rename from macos/homebrew/fun.Brewfile rename to legacy/homebrew/fun.Brewfile diff --git a/macos/homebrew/learning.Brewfile b/legacy/homebrew/learning.Brewfile similarity index 100% rename from macos/homebrew/learning.Brewfile rename to legacy/homebrew/learning.Brewfile diff --git a/macos/homebrew/programming.Brewfile b/legacy/homebrew/programming.Brewfile similarity index 100% rename from macos/homebrew/programming.Brewfile rename to legacy/homebrew/programming.Brewfile diff --git a/macos/homebrew/utils.Brewfile b/legacy/homebrew/utils.Brewfile similarity index 100% rename from macos/homebrew/utils.Brewfile rename to legacy/homebrew/utils.Brewfile diff --git a/mail/backup/rclone.cronjob b/legacy/mail/backup/rclone.cronjob similarity index 100% rename from mail/backup/rclone.cronjob rename to legacy/mail/backup/rclone.cronjob diff --git a/mail/backup/setup_uplink b/legacy/mail/backup/setup_uplink similarity index 100% rename from mail/backup/setup_uplink rename to legacy/mail/backup/setup_uplink diff --git a/macos/newsboat/com.noah.newsboat.plist b/legacy/newsboat/com.noah.newsboat.plist similarity index 100% rename from macos/newsboat/com.noah.newsboat.plist rename to legacy/newsboat/com.noah.newsboat.plist diff --git a/macos/newsboat/config b/legacy/newsboat/config similarity index 100% rename from macos/newsboat/config rename to legacy/newsboat/config diff --git a/macos/nix-env.fish b/legacy/nix-env.fish similarity index 100% rename from macos/nix-env.fish rename to legacy/nix-env.fish diff --git a/macos/scripts/bootstrap b/legacy/scripts/bootstrap similarity index 100% rename from macos/scripts/bootstrap rename to legacy/scripts/bootstrap diff --git a/macos/scripts/brews b/legacy/scripts/brews similarity index 100% rename from macos/scripts/brews rename to legacy/scripts/brews diff --git a/macos/scripts/cargos b/legacy/scripts/cargos similarity index 100% rename from macos/scripts/cargos rename to legacy/scripts/cargos diff --git a/macos/scripts/casks b/legacy/scripts/casks similarity index 100% rename from macos/scripts/casks rename to legacy/scripts/casks diff --git a/macos/scripts/configure_macos b/legacy/scripts/configure_macos similarity index 100% rename from macos/scripts/configure_macos rename to legacy/scripts/configure_macos diff --git a/macos/scripts/npm b/legacy/scripts/npm similarity index 100% rename from macos/scripts/npm rename to legacy/scripts/npm diff --git a/macos/scripts/rust b/legacy/scripts/rust similarity index 100% rename from macos/scripts/rust rename to legacy/scripts/rust diff --git a/macos/scripts/setup_cheatsheet b/legacy/scripts/setup_cheatsheet similarity index 100% rename from macos/scripts/setup_cheatsheet rename to legacy/scripts/setup_cheatsheet diff --git a/macos/scripts/setup_fish b/legacy/scripts/setup_fish similarity index 100% rename from macos/scripts/setup_fish rename to legacy/scripts/setup_fish diff --git a/macos/scripts/setup_symlinks b/legacy/scripts/setup_symlinks similarity index 100% rename from macos/scripts/setup_symlinks rename to legacy/scripts/setup_symlinks diff --git a/macos/scripts/setup_ytfzf b/legacy/scripts/setup_ytfzf similarity index 100% rename from macos/scripts/setup_ytfzf rename to legacy/scripts/setup_ytfzf diff --git a/macos/scripts/update_rust_analyzer b/legacy/scripts/update_rust_analyzer similarity index 100% rename from macos/scripts/update_rust_analyzer rename to legacy/scripts/update_rust_analyzer diff --git a/macos/tmux/tmux.conf.symlink b/legacy/tmux/tmux.conf.symlink similarity index 100% rename from macos/tmux/tmux.conf.symlink rename to legacy/tmux/tmux.conf.symlink diff --git a/macos/hammerspoon/Spoons/ControlEscape.spoon/init.lua b/modules/darwin/hammerspoon/Spoons/ControlEscape.spoon/init.lua similarity index 100% rename from macos/hammerspoon/Spoons/ControlEscape.spoon/init.lua rename to modules/darwin/hammerspoon/Spoons/ControlEscape.spoon/init.lua diff --git a/macos/hammerspoon/Spoons/DismissAlerts.spoon/close_notifications_applescript.js b/modules/darwin/hammerspoon/Spoons/DismissAlerts.spoon/close_notifications_applescript.js similarity index 100% rename from macos/hammerspoon/Spoons/DismissAlerts.spoon/close_notifications_applescript.js rename to modules/darwin/hammerspoon/Spoons/DismissAlerts.spoon/close_notifications_applescript.js diff --git a/macos/hammerspoon/Spoons/DismissAlerts.spoon/init.lua b/modules/darwin/hammerspoon/Spoons/DismissAlerts.spoon/init.lua similarity index 100% rename from macos/hammerspoon/Spoons/DismissAlerts.spoon/init.lua rename to modules/darwin/hammerspoon/Spoons/DismissAlerts.spoon/init.lua diff --git a/macos/hammerspoon/Spoons/Launcher.spoon/init.lua b/modules/darwin/hammerspoon/Spoons/Launcher.spoon/init.lua similarity index 100% rename from macos/hammerspoon/Spoons/Launcher.spoon/init.lua rename to modules/darwin/hammerspoon/Spoons/Launcher.spoon/init.lua diff --git a/macos/hammerspoon/Spoons/MoveWindow.spoon/init.lua b/modules/darwin/hammerspoon/Spoons/MoveWindow.spoon/init.lua similarity index 100% rename from macos/hammerspoon/Spoons/MoveWindow.spoon/init.lua rename to modules/darwin/hammerspoon/Spoons/MoveWindow.spoon/init.lua diff --git a/macos/hammerspoon/init.lua b/modules/darwin/hammerspoon/init.lua similarity index 100% rename from macos/hammerspoon/init.lua rename to modules/darwin/hammerspoon/init.lua diff --git a/modules/darwin/utilities.nix b/modules/darwin/utilities.nix index 5b8209d..9943079 100644 --- a/modules/darwin/utilities.nix +++ b/modules/darwin/utilities.nix @@ -91,6 +91,8 @@ fonts.fonts = with pkgs; [ (nerdfonts.override { fonts = [ "fira-mono" ]; }) ]; + home.file.hammerspoon = { source = ./hammerspoon; }; + }; homebrew = {