Commit graph

37 commits

Author SHA1 Message Date
Evie Litherland-Smith 5db0b3feff Add guard for git-sync-all for non-main branch
Only pull/push non-syncing repos (currently nixos and emacs) if on the
"main" branch, echo warning message and skip otherwise.
2024-04-12 11:24:39 +01:00
Evie Litherland-Smith 4c7cdbeb8e Add bookmarks.org and export steps to nix config
Move bookmarks.org into this repo and use runCommand to call emacs
org-html-export-to-html, set output file as firefox homepage

Remove bookmarks from git-sync-all.sh

Disable firefox SanitizeOnShutdown so that I can keep pinned tabs
between sessions
2024-04-08 14:25:04 +01:00
Evie Litherland-Smith b1460ddc05 Add diary directory and repo to git-sync-all.sh 2024-04-06 13:49:08 +01:00
Evie Litherland-Smith cd9441bde4 Add bookmarks repo to git-sync-all, remove from chromium config 2024-04-03 14:14:30 +01:00
Evie Litherland-Smith bbbe86735a Remove zellij from rsync-local-config 2024-04-02 11:05:36 +01:00
Evie Litherland-Smith f6c700bf65 Start playing around with lua for sync script
Lua coroutines look interesting for making it asynchronous, need to
investigate further.
2024-03-19 07:37:32 +00:00
Evie Litherland-Smith dbf419d520 Update rsync-local-config to send fonts as well
Fonts are copied to default GTK font directory
2024-03-18 10:03:48 +00:00
Evie Litherland-Smith 41db857a8c Add first version of python sync-all.py script
Aim to replace current bash git-sync-all.sh with an asynchronous
python version, currently re-implements almost all existing
functionality, TODO the actual async part
2024-03-18 07:50:24 +00:00
Evie Litherland-Smith 966f264d5e git-sync-all: also push nixos and emacs repos when syncing 2024-03-09 09:27:12 +00:00
Evie Litherland-Smith f00e8be0a2 Update git-sync-all
Add extra checks to pull section (ensure directory exists, echo
current dir, set URL)
2024-03-08 08:15:32 +00:00
Evie Litherland-Smith 235a678a7c Pull emacs (and nixos) config in git-sync-all instead of hyprland startup 2024-03-08 08:07:51 +00:00
Evie Litherland-Smith f048d05850 Remove elfeed from syncthing, add back to git-sync-all 2024-03-08 06:49:05 +00:00
Evie Litherland-Smith 406750a9e2 Update URLs for git-sync-all 2024-03-08 06:41:40 +00:00
Evie Litherland-Smith cb736a7100 Remove ipython config 2024-03-04 14:45:20 +00:00
Evie Litherland-Smith 38c03ffac7 Remove push-iosevka-cache script
Not needed now that it's moved to separate repo
2024-03-03 21:23:26 +00:00
Evie Litherland-Smith fdafe6c515 Fix push-iosevka-cache, explicitly tell to use ssh 2024-03-02 17:02:24 +00:00
Evie Litherland-Smith 521e6e3115 Add script to push build Iosevka derivations to server 2024-03-02 16:56:49 +00:00
Evie Litherland-Smith 86287332e1 Add btm config to rsync-local-config 2024-03-01 11:33:34 +00:00
Evie Litherland-Smith cb8a742f44 Remove .elfeed from git-sync scripts 2024-02-17 19:24:02 +00:00
Evie Litherland-Smith 901fe1c661 Remove emacs-sync-config.sh
Go back to simple git command in hyprland extraConfig
2024-02-17 19:10:22 +00:00
Evie Litherland-Smith 473be66448 Remove nixos-upgrade.sh 2024-02-17 19:03:26 +00:00
Evie Litherland-Smith 6086facb8c Add ipython config to rsync-local-config 2024-02-16 14:40:17 +00:00
Evie Litherland-Smith 769a16ef42 Add script to sync emacs config
Uses same basic logic as git-sync-all but only pulling with --ff-only
2024-02-15 08:54:18 +00:00
Evie Litherland-Smith b2f0f3e08d Update git-sync-all script
Add elfeed directory back now that I'm ignoring the db entries
properly

Add urls for repositories so that script can clone them if the
directory doesn't already exist, and ensure correct remote url is set
before syncing
2024-02-14 08:34:30 +00:00
Evie Litherland-Smith f362a15211 Remove elfeed repo from git-sync-all 2024-02-13 07:49:08 +00:00
Evie Litherland-Smith 49fdaa290d Rename nixos-update -> nixos-upgrade 2024-02-10 06:47:05 +00:00
Evie Litherland-Smith 4e9d01e2b3 Remove duplicated shebang from scripts 2024-02-07 15:40:58 +00:00
Evie Litherland-Smith db759f8e06 Ensure shebangs in scripts 2024-02-05 09:51:38 +00:00
Evie Litherland-Smith eeb8972fe6 Fix lint suggestions for git-sync-all
Use subshell for each directory rather than cd and cd back

Add git-sync option to sync new files
2024-02-05 06:22:44 +00:00
Evie Litherland-Smith e8809dc0fe Add zellij config to rsync-local-config 2024-02-03 09:55:02 +00:00
Evie Litherland-Smith ece96e046e Move emacs repo sync to git-sync-all script 2024-02-01 11:35:41 +00:00
Evie Litherland-Smith 09df446bd7 Reformat all using alejandra 2024-01-30 14:21:50 +00:00
Evie Litherland-Smith 228e89c4fd Add nixos-update script
Just calls nixos-rebuild switch using flake input
2024-01-30 09:29:47 +00:00
Evie Litherland-Smith d3a9bf0f3d Remove ~/.nixos and ~/.emacs from git-sync-all 2024-01-20 08:04:57 +00:00
Evie Litherland-Smith b3988f8eae Switch zsh back to fish
Add extracted zsh functions to path

Remove shebang from all scripts as writeShellScriptBin handles that automatically
2024-01-15 14:20:59 +00:00
Evie Litherland-Smith 4468fa1a8f Set git sync config within git-sync-all script 2024-01-15 07:35:43 +00:00
Evie Litherland-Smith 9ccaee7f5e Extract zsh functions to standalone bash script files 2024-01-14 14:38:22 +00:00