clone of my dotfiles.ssp.sh
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

update

+45 -39
+1 -1
nvim-wp/lua/sspaeti/lazy.lua
··· 30 30 colorscheme = { sessionThemes["default"] }, 31 31 }, 32 32 checker = { 33 - enabled = true, 33 + enabled = false, 34 34 notify = false, 35 35 }, 36 36 --autoreload notification
+2 -1
nvim-wp/lua/sspaeti/plugins/treesitter.lua
··· 14 14 return 15 15 end 16 16 treesitter.setup { 17 - ensure_installed = { "vimdoc", "python", "markdown", "markdown_inline", "css", "html", "javascript", "yaml", "bash", "json", "lua", "regex", "sql", "toml", "vim", "rust", "glimmer" }, -- one of "all" or a list of languages 17 + -- ensure_installed = { "vimdoc", "python", "markdown", "markdown_inline", "css", "html", "javascript", "yaml", "bash", "json", "lua", "regex", "sql", "toml", "vim", "rust", "glimmer" }, -- one of "all" or a list of languages 18 + ensure_installed = { "markdown", "markdown_inline" }, 18 19 sync_install = false, 19 20 auto_install = true, 20 21 highlight = {
+41 -36
nvim-wp/micro-journal-scripts/Makefile
··· 4 4 PI_WRITING_DIR = $(HOME)/microjournal/writing 5 5 PI_NVIM_CONFIG_DIR = $(HOME)/config/nvim 6 6 PI_CONFIG_DIR = $(HOME)/microjournal/config 7 - PI_SECONDBRAIN_DIR = $(HOME)/microjournal/SecondBrain 7 + PI_SECONDBRAIN_DIR = ~/microjournal/documents/SecondBrain 8 8 9 9 # Mac connection details 10 10 MAC_USER = your_mac_username 11 11 MAC_HOST = your_mac_hostname_or_ip 12 - 12 + PI_USER = microjournal 13 + PI_HOST = mj 13 14 # Path definitions for Mac (remote) 14 15 MAC_NVIM_CONFIG_GIT = $(MAC_USER)@$(MAC_HOST):$(HOME)/Documents/git/general/dotfiles/nvim-wp 15 16 MAC_TYPEWRITER_CONFIG = $(MAC_USER)@$(MAC_HOST):$(HOME)/Documents/git/general/dotfiles/nvim-wp/micro-journal-scripts 16 17 MAC_WRITING_DIR = $(MAC_USER)@$(MAC_HOST):$(HOME)/Simon/SecondBrain/⚛️\ Areas/✍🏻\ Writing/micro-journal 17 - MAC_SECONDBRAIN_DIR = $(MAC_USER)@$(MAC_HOST):$(HOME)/Simon/SecondBrain 18 + MAC_SECONDBRAIN_DIR = ~/Simon/SecondBrain 18 19 19 20 # Default target 20 21 .PHONY: help ··· 32 33 @echo " help : Show this help information" 33 34 34 35 # Network management 35 - .PHONY: network-on 36 - network-on: 37 - @echo "Starting network connection..." 38 - @./startnetwork.sh 39 - @echo "Waiting for network connection..." 40 - @for i in $$(seq 1 15); do \ 41 - if ping -c 1 google.com > /dev/null 2>&1; then \ 42 - echo "Network is ready."; \ 43 - break; \ 44 - fi; \ 45 - if [ $$i -eq 15 ]; then \ 46 - echo "WARNING: Network may not be fully ready, but continuing..."; \ 47 - fi; \ 48 - sleep 1; \ 49 - done 36 + # .PHONY: network-on 37 + # network-on: 38 + # @echo "Starting network connection..." 39 + # @./startnetwork.sh 40 + # @echo "Waiting for network connection..." 41 + # @for i in $$(seq 1 15); do \ 42 + # if ping -c 1 google.com > /dev/null 2>&1; then \ 43 + # echo "Network is ready."; \ 44 + # break; \ 45 + # fi; \ 46 + # if [ $$i -eq 15 ]; then \ 47 + # echo "WARNING: Network may not be fully ready, but continuing..."; \ 48 + # fi; \ 49 + # sleep 1; \ 50 + # done 50 51 51 - .PHONY: network-off 52 - network-off: 53 - @echo "Stopping network connection..." 54 - @./stopnetwork.sh 52 + # .PHONY: network-off 53 + # network-off: 54 + # @echo "Stopping network connection..." 55 + # @./stopnetwork.sh 55 56 56 57 # Time synchronization 57 58 .PHONY: time-sync ··· 60 61 @sudo ./time.sh 61 62 62 63 # Sync from Pi to Mac 63 - .PHONY: to-mac 64 - to-mac: network-on time-sync 65 - @echo "=== Starting Pi to Mac sync process ===" 66 - @echo "Syncing writing files - writing..." 67 - @rsync -avz --delete "$(PI_WRITING_DIR)/" "$(MAC_WRITING_DIR)/" 68 - @echo "Syncing nvim-wp files..." 69 - @rsync -avz --delete "$(PI_NVIM_CONFIG_DIR)/" "$(MAC_NVIM_CONFIG_GIT)/" 70 - @echo "Writing files sync completed!" 71 - @make -s network-off 72 - @echo "=== Pi to Mac sync process completed successfully! ===" 64 + # .PHONY: to-mac 65 + # to-mac: network-on time-sync 66 + # @echo "=== Starting Pi to Mac sync process ===" 67 + # @echo "Syncing writing files - writing..." 68 + # @rsync -avz --delete "$(PI_WRITING_DIR)/" "$(MAC_WRITING_DIR)/" 69 + # @echo "Syncing nvim-wp files..." 70 + # @rsync -avz --delete "$(PI_NVIM_CONFIG_DIR)/" "$(MAC_NVIM_CONFIG_GIT)/" 71 + # @echo "Writing files sync completed!" 72 + # @make -s network-off 73 + # @echo "=== Pi to Mac sync process completed successfully! ===" 73 74 74 75 # Sync from Mac to Pi 75 - .PHONY: from-mac 76 - from-mac: network-on time-sync 76 + 77 + .PHONY: sync-secondbrain-to-mj 78 + sync-secondbrain-to-mj: 77 79 @echo "=== Starting Mac to Pi sync process ===" 78 80 79 81 @echo "Syncing SecondBrain contents..." 80 - @rsync -avz "$(MAC_SECONDBRAIN_DIR)/" "$(PI_SECONDBRAIN_DIR)/" 82 + @rsync -avz --delete --include="*.md" --include="*.txt" --include="*/" --exclude="*" $(MAC_SECONDBRAIN_DIR)/ mj:$(PI_SECONDBRAIN_DIR)/ 81 83 @echo "SecondBrain contents sync completed!" 84 + 85 + @echo "Creating last-loaded.md file with timestamp..." 86 + @ssh mj "echo '$$(date)' > $(PI_SECONDBRAIN_DIR)/last-loaded.md" 87 + @echo "Timestamp file created!" 82 88 83 - @make -s network-off 84 89 @echo "=== Mac to Pi sync process completed successfully! ===" 85 90 86 91 # Complete sync in both directions
+1 -1
nvim/lua/sspaeti/lazy.lua
··· 30 30 colorscheme = { sessionThemes["default"] }, 31 31 }, 32 32 checker = { 33 - enabled = true, 33 + enabled = false, --shoots 10's of lookups to github for checking if new update... 34 34 notify = false, 35 35 }, 36 36 --autoreload notification