Skip to content

Commit

Permalink
Try HomeGallery and yabai
Browse files Browse the repository at this point in the history
  • Loading branch information
utensil committed Jan 10, 2025
1 parent 217fd28 commit d42a15d
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
1 change: 1 addition & 0 deletions dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ app.listen(port, async ({ hostname, port }) => {
)
lastSent = Date.now()
lastSentFile = updated_file_name
console.log(`Serving: http://${hostname}:${port}/`)
}, 10)
}
}
Expand Down
13 changes: 13 additions & 0 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -669,3 +669,16 @@ prep-annex:
# brew services start git-annex
mkdir -p ~/annex
(cd ~/annex && git annex webapp)


gal:
#!/usr/bin/env zsh
mkdir -p ~/home-gallery/data/config
cd ~/home-gallery/
alias gallery="docker run -ti --rm \
-v $(pwd)/data:/data \
-v $HOME/Pictures/photos:/data/Pictures \
-u $(id -u):$(id -g) \
-p 3000:3000 docker.wanpeng.top/xemle/home-gallery:latest"
gallery run init --source /data/Pictures
gallery run server
7 changes: 4 additions & 3 deletions trees/uts-002G.tree
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@ Keys:
- `Option + Shift + J/K` to cycle through windows
- `Option + Shift + H/L` to resize windows

Alternative setup (not recommended):
Alternative setup:

- Give [yabai](https://github.com/koekeishiya/yabai) another shot
- Use [yabai](https://github.com/koekeishiya/yabai)
- requires skhd for key bindings
- Use `just prep-yabai` to install yabai
- Intentionally choose not to disable SIP
Expand All @@ -52,8 +52,9 @@ Keys:

- Space manipulation won't work with SIP enabled
- keys to switch between windows are confusing
- place windows on another window to split with it, there is visual hint for the split layout when overlapping with different areas
- `Shift + Alt + s`: change how windows are splitted, prefer use Kitty's own layout management
- `Ctrl + Alt + g`: toggle gaps between windows, prefer no gap
- `Ctrl + Alt + g`: toggle gaps between windows, prefer some gap for normal apps but no gap for terminals
}

\mdblock{Terminal}{
Expand Down
2 changes: 2 additions & 0 deletions trees/uts-002J.tree
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ I wish to note down my exploration of solutions to organize massive amount of (m
- [macFUSE](https://macfuse.github.io/)
- needed to mount various filesystems
- photo management
- [HomeGallery](https://home-gallery.org/)
- [librephotos](https://github.com/LibrePhotos/librephotos)
- [digiKam](https://www.digikam.org/)
- [PhotoPrism](https://www.photoprism.app/)
- [Immich](https://immich.app/)
Expand Down

0 comments on commit d42a15d

Please sign in to comment.