Commit Graph

3 Commits

Author SHA1 Message Date
joakim ec0c06d491 handy: hide force-shown windows at boot
Handy ignores --start-hidden whenever the tray icon is disabled: without
a tray it force-shows the main window as the only way back in
(lib.rs: `if should_force_show || !should_hide || !tray_available`).
Since both instances run tray-less (GUI access is via the SUPER+G /
SUPER+SHIFT+G binds instead), both windows opened on workspace 1 at
every boot.

Add handy-boot-hide: polls for the first two Handy windows after boot
and dispatches a close on each — Handy intercepts close and hides the
window instead of quitting, which is exactly the hidden state
--start-hidden would have produced. Wired into the Hyprland autostart
after both instances launch.

Note: the Lua config provider parses `hyprctl dispatch` args as a Lua
expression, so the script uses the dispatcher form
`hl.dsp.window.close({ window = 'address:…' })`.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016vLKT7j9KJEsJ4mEVbGyqp
2026-08-15 02:59:28 +02:00
joakim 7b5b2f6b7f hypr: fix handy autostart/binds for Hyprland's bare session PATH
Hyprland's session PATH is /usr/local/bin:/usr/bin, so handy-no in
~/.local/bin was never found: the Norwegian instance did not start at
boot and the SUPER+Y/SHIFT+G binds failed silently. Reference the
script by absolute path instead. Also start the English instance with
--start-hidden so no window opens on login.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PC3PoJ2TQhr3LpbT5fT8FN
2026-08-13 12:09:58 +02:00
joakim 4eb93b7640 Initial commit
Dotfiles managed with GNU Stow: Hyprland (Lua config), Neovim, zsh,
tmux, ghostty, alacritty, waybar, yazi, lazygit, herdr, Claude Code.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-12 18:02:28 +02:00