Repository navigation
niri: scroll columns with mouse side buttons, fuller sizing; Zed replaces VS Code - #203
Merged
Merged
Conversation
Back/Forward step the strip a column at a time (Super carries the column along), Super+Shift/Ctrl+wheel scroll or move columns. Sizing gains window heights (Super+Shift+R presets, Super+Shift+Minus/Equal), Super+Ctrl+HJKL nudges in place of Hyprland's resize mode, plus expand-to-free-width, center, reset height, consume/expel and tabbed columns. Wider width presets; the focused column centres on overflow and a lone window sits centred. Checked against niri-config's own parser; cheatsheet and README updated for the niri session. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CrdbH4MCHhLKimzdRSzXZp
zed comes from the official repo (binary zeditor), so it joins the pacman package list and the archinstall profile; the visual-studio-code-bin AUR install is gone. Stoa ships Zed settings (JetBrains Mono, telemetry off, the Stoa theme) and a Stoa theme family ported from the VS Code theme, checked against Zed's theme schema. Source files now open in dev.zed.Zed.desktop. install.sh repoints an existing mimeapps.list's code.desktop entries and removes the stale Stoa symlinks under ~/.vscode and ~/.config/Code, leaving files VS Code wrote itself alone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CrdbH4MCHhLKimzdRSzXZp
Zed's own installer puts a self-updating copy in ~/.local/zed.app with the same dev.zed.Zed.desktop and ~/.config/zed, so Stoa's settings, theme and MIME defaults already apply to it. Skip the zed package when that copy is present rather than installing a second one beside it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01CrdbH4MCHhLKimzdRSzXZp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two changes: the niri work in one commit, and Zed replacing VS Code in two.
1. niri: mouse side buttons and sizing (86c53f8)
Better sizing controls for the niri session, and scrolling between windows with the mouse side buttons.
Mouse (
config/niri/config.kdl)MouseBack/MouseForward: focus the column to the left / right.Super+MouseBack/Forward: move the focused column left / right.Super+Shift+Wheelscrolls columns,Super+Ctrl+Wheelmoves the column, tilt wheel (Super+WheelScrollLeft/Right) scrolls columns.Mod+to give them back.Sizing
Super+Shift+Rcycles window height presets (newpreset-window-heights).Super+Shift+Minus/Equalchange window height by ±10%.Super+Ctrl+H/L/J/Kchange column width / window height by 5% (stands in for Hyprland'sSuper+Rresize mode).Super+Xexpands the column to the free width,Super+Ctrl+Ccentres the column,Super+Shift+Fresets the window height.Super+[/],Super+Comma/Periodpull windows into a column or push them out;Super+Tswitches the column to tabbed display.center-focused-column "on-overflow"andalways-center-single-column, so wide or lone windows are no longer pushed against a screen edge.The niri cheatsheet (
Super+/,scripts/stoa-keybinds-bar.sh) and the README table now list the new binds. The Hyprland cheatsheet is unchanged.2. Zed replaces VS Code (a5a7949, 34142b9)
zedcomes from the officialextrarepo (binaryzeditor, desktop filedev.zed.Zed.desktop). It is added to the pacman package list inpost-install.shand to the archinstall profile. Thevisual-studio-code-binAUR installs inpost-install.shandarch-install.share removed.curl -f https://zed.dev/install.sh | sh, which puts it in~/.local/zed.app),post-install.shskips the pacman package instead of installing a second copy. That install uses the samedev.zed.Zed.desktopand~/.config/zed, so the Stoa settings, theme and MIME defaults apply to it unchanged.config/zed/settings.json(JetBrains Mono, telemetry off, Stoa theme) is linked to~/.config/zed/settings.json.theme/zed/stoa.jsonis the Stoa theme family, ported colour for colour from the VS Code theme. It is linked into~/.config/zed/themes/.dev.zed.Zed.desktop. For an existingmimeapps.list(both~/.local/share/applicationsand~/.config),install.shrepoints only the exactcode.desktopentries.install.shremoves the stale Stoa symlinks under~/.vscode/extensions/stoa-themeand~/.config/Code/User/settings.json. It only removes links that point into the Stoa checkout; files VS Code wrote itself are kept.theme/vscode/andconfig/Code/.sync.listare updated, and the DFM scanner now recognises~/.config/zed.Verification
niri-configcrate. It accepts the old config, rejects a config with a typo planted on purpose, and accepts the new config. Checked in niri's source that aMouseBackbind with no modifier is consumed by the compositor.v0.2.0), with no unknown style keys; the validator rejects a deliberately bad value. Every settings key exists in Zed's ownassets/settings/default.json.install.shto confirm where it installs and which.desktopname it uses. Ran the package-skip logic with and without~/.local/zed.app/bin/zedpresent.mimeapps.listmigration and the old-link cleanup were run on sample files: near-miss names (vscode.desktop,code.desktop.bak) are left alone,;-separated lists are handled, and a real user file plus an unrelated extension both survive.tests/run.sh: 17 passed, 1 skipped.check_config_integrity.pyreports ok. shellcheck shows no new findings compared with the base.🤖 Generated with Claude Code
https://claude.ai/code/session_01CrdbH4MCHhLKimzdRSzXZp