aboutsummaryrefslogtreecommitdiff
path: root/src/config.rs
AgeCommit message (Collapse)Author
2024-01-07Move config into a separate crateIvan Molodetskikh
Get miette and knuffel deps contained within.
2024-01-06[cfg-breaking] Move layout settings into their own scopeIvan Molodetskikh
2024-01-06Add render-drm-device debug config optionIvan Molodetskikh
2024-01-03Add disable-cursor-plane debug flagIvan Molodetskikh
2023-12-29Add move-column-to-{first,last}Ivan Molodetskikh
2023-12-29Add focus-column-{first,last}Ivan Molodetskikh
2023-12-28Add disable-power-key-handling optionIvan Molodetskikh
2023-12-27layout: Refactor to support window decorations, add border and fullscreen ↵Ivan Molodetskikh
backdrop Windows are now wrapped in Tiles, which keep track of window-specific decorations. Particularly, I implemented a black fullscreen backdrop, which finally brings fullscreened windows smaller than the screen in line with how the Wayland protocol says they should look—centered in a black rectangle. I also implemented window borders, which are similar to the focus ring, but always visible (and hence affect the layout and sizing).
2023-12-21Add configurable strutsIvan Molodetskikh
2023-12-19Add optional fallback to workspace focus/move for window focus/move (#93)Matt Cuneo
* Add optional fallback to workspace focus/move for window focus/move commands * Refactored to separate commands * fix indentation * fix white space * Stylistic fixes --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2023-12-18Add a config flag to disable an outputIvan Molodetskikh
2023-12-08Live-reload keyboard configIvan Molodetskikh
This needed the Smithay bump for a deadlock fix.
2023-12-05Extract to_xkb_config() to a methodIvan Molodetskikh
2023-11-13Add an action to center column within view bound to Ctrl-CIvan Molodetskikh
2023-11-08Add 'input.keyboard.track_layout' config optionKirill Chibisov
Track layout for each window individually when user requested `Window` tracking mode, keeping the default as global.
2023-11-08Add action to switch layoutsKirill Chibisov
Allow users to trigger layout change with custom bindings.
2023-11-08Add set-window-height actionIvan Molodetskikh
2023-11-03Add default-column-width settingIvan Molodetskikh
2023-10-31Include filename in screenshot-pathIvan Molodetskikh
2023-10-31[cfg-breaking] Change colors to 0-255 instead of 0.-1.Ivan Molodetskikh
2023-10-31Make screenshot path configurableIvan Molodetskikh
2023-10-30Implement area selection screenshotsIvan Molodetskikh
2023-10-30Rename Screenshot to ScreenshotScreenIvan Molodetskikh
2023-10-29Don't send key on release from niri actionsKirill Chibisov
Some clients run logic on `Release`, thus don't send the key originally used for running `niri` actions. Fixes #28.
2023-10-14Add binds to move workspaces up and downIvan Molodetskikh
2023-10-10Add screenshot-window actionIvan Molodetskikh
2023-10-09Add power-off-monitors bindIvan Molodetskikh
Implements https://github.com/YaLTeR/niri/issues/24
2023-10-07Add gaps settingIvan Molodetskikh
The past few refactors have led up to this point, and now it's finally possible.
2023-10-05Refactor layout for configurability, add preset-column-widths optionIvan Molodetskikh
layout.rs finally gets a struct actually named Layout.
2023-10-03Add tablet map-to-output settingIvan Molodetskikh
2023-10-03Add set-column-width actionIvan Molodetskikh
2023-10-03Make output modes configurableIvan Molodetskikh
2023-10-03Set miette report handler in tests tooIvan Molodetskikh
2023-10-01config/input: add cursor sectionKirill Chibisov
This should allow users to configure theme and size for the cursor, as well as automatically set `XCURSOR_THEME` and `XCURSOR_SIZE` env variables.
2023-09-30Make output position configurableIvan Molodetskikh
Implements https://github.com/YaLTeR/niri/issues/14
2023-09-26Add initial config hot reloadingIvan Molodetskikh
2023-09-26Add prefer-no-csd optionIvan Molodetskikh
2023-09-26Make focus ring configurableIvan Molodetskikh
2023-09-26Update SmithayIvan Molodetskikh
2023-09-21Add spawn-at-startup config optionIvan Molodetskikh
Fixes https://github.com/YaLTeR/niri/issues/12
2023-09-21Add output configuration & integer scaling supportIvan Molodetskikh
2023-09-20Add initial impl of org.gnome.Shell.ScreenshotIvan Molodetskikh
Enough to make the portal all-outputs screenshot work. With this, Flameshot kinda-works.
2023-09-16Change default repeat to 600Ivan Molodetskikh
660 comes from Xorg, but feels kind of slow. The wlroots and sway default is 600, which is a little better. The 25 repeat interval matches between Xorg (where it is defined in terms of interval, rather than rate) and wlroots.
2023-09-16Add keyboard.repeat-rate and keyboard.repeat-delayKirill Chibisov
Add option to let the users configure the keyboard repeat delay and rate. Also change the default values to mimic the Xorg, which is also the values used by default by the majority of the compositors. Fixes: #7
2023-09-16Add by-index workspace commands and bindsIvan Molodetskikh
2023-09-14Add debug flag to enable overlay planesIvan Molodetskikh
2023-09-14Disable ColorTransformations, add debug flag to enableIvan Molodetskikh
Speeds up the rendering slightly, doesn't seem to cause issues?
2023-09-14Add debug flag to wait for frame completionIvan Molodetskikh
2023-09-08Add initial monitor screencast portal implIvan Molodetskikh
DmaBuf monitor screencasting through xdg-dekstop-portal-gnome! Somewhat limited currently, e.g. the cursor is always embedded. But gets most of the job done.
2023-09-06Add animation-slowdown debug settingIvan Molodetskikh