aboutsummaryrefslogtreecommitdiff
path: root/src/ui
AgeCommit message (Collapse)Author
2025-08-05fix hot reloading `/etc/niri/config.kdl` (#1907)sodiboo
* refactor config load logic, and properly watch the system config path * move config creation to niri-config, and make the errors a bit nicer notably, "error creating config" is now a cause for "error loading config", instead of it being one error and then "error loading config: no such file or directory". also, failure to load a config is now printed as an error level diagnostic (because it is indeed an error, not just a warning you can shrug off) * refactor watcher tests; add some new ones now they check for the file contents too! and i added some tests for ConfigPath::Regular, including a messy one with many symlink swaps * fixes --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-07-13Fix new Clippy warningsIvan Molodetskikh
2025-06-12screenshot_ui: Move selection with a second touch tooIvan Molodetskikh
2025-06-12screenshot_ui: Move selection when holding SpaceIvan Molodetskikh
2025-06-12Implement move-column/window-to-monitor actions for the screenshot UIIvan Molodetskikh
2025-06-03add option to hide unbound actions in hotkey overlay (#1618)Kent Daleng
* add option to hide unbound actions in hotkey overlay * fix config test, add some docs * Add kdl language hint Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> * Improve docs Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com> * hide_unbound -> hide_not_bound * forgot to rename in wiki * filter actions before calling format * use any instead of contains * retain instead of filter --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-05-09Add a clickable button to capture the screenshotIvan Molodetskikh
Allows tablet-, touch- and mouse-only confirmation.
2025-05-09screenshot_ui: Refactor mouse down + touch slot stateIvan Molodetskikh
2025-05-09Add touch selection support to the screenshot UIIvan Molodetskikh
2025-05-09Split ScreenshotUi::pointer_down() and up()Ivan Molodetskikh
2025-05-09Simplify ScreenshotUi::pointer_button()Ivan Molodetskikh
2025-05-01Implement --focus for MoveColumnToWorkspace/Up/DownAberter Yan
2025-04-25hotkey_overlay: Show the ToggleOverview bindIvan Molodetskikh
2025-03-29screenshot: make selection area modifiable via move/resize keybinds (#1279)nyx
* screenshot: make selection area modifiable via keybinds * input: run fmt * Reimplement screenshot UI binds in a better way --------- Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com>
2025-03-22hotkey_overlay: rename ISO_Level{3,5}_Shift to Mod{5,3}peelz
2025-03-22Add mod-key and mod-key-nested settingspeelz
2025-03-10feat: 🎉 add `show-pointer` for `Screenshot` and `ScreenshotScreen`Toby Bridle
2025-02-14Update Smithay (idle-notify 2)Ivan Molodetskikh
2025-02-13Implement custom hotkey overlay titlesIvan Molodetskikh
2025-02-13hotkey overlay: Add pretty for spaceIvan Molodetskikh
2025-02-13hotkey overlay: Put Ctrl and Shift before AltIvan Molodetskikh
They are commonly written this way.
2025-01-14add write-to-disk argument to screenshot actionsGustav Sörnäs
2025-01-04Migrate to new Rectangle functionsIvan Molodetskikh
2025-01-03Add floating binds to the hotkey overlayIvan Molodetskikh
2025-01-02Add `Mouse{Left,Right,Middle,Back,Forward}` bindsbbb651
2024-11-25Refactor animation timing to use lazy clocksIvan Molodetskikh
2024-11-25Refactor animations to take explicit current timeIvan Molodetskikh
2024-11-11Make consume-or-expel binds more prominentIvan Molodetskikh
I find myself using them much more than regular consume or expel.
2024-09-02Read config from /etc/niri/config.kdl tooIvan Molodetskikh
2024-08-23Fix screen transition across scale/transform changesIvan Molodetskikh
2024-07-31add mod3 key binding support (#565)Jeff Peeler
* add support for iso_level5_shift modifier * update Cargo.lock bumps smithay to de94e8f59e202b605c35dfe1fef1857bad427e8c
2024-07-08screenshot-ui: Animate openingIvan Molodetskikh
2024-07-08screenshot-ui: Add a help panelIvan Molodetskikh
2024-07-08Use is_alive()Ivan Molodetskikh
2024-07-08screenshot-ui: Pre-compute PrimaryGpuTextureIvan Molodetskikh
2024-07-07Implement toggling pointer for the screenshot UIIvan Molodetskikh
2024-07-07screenshot-ui: Fix last selection preservationIvan Molodetskikh
Another missed thing from the fractional scale refactor...
2024-07-01Enable subpixel glyph positioning in PangoIvan Molodetskikh
Makes things scale more smoothly.
2024-06-28Show ISO_Level3_Shift in the hotkey overlayIvan Molodetskikh
2024-06-18Refactor layout to fractional-logicalIvan Molodetskikh
Lets borders, gaps, and everything else stay pixel-perfect even with fractional scale. Allows setting fractional border widths, gaps, struts. See the new wiki .md for more details.
2024-06-17Rename apply_scale to to_physical_precise_roundIvan Molodetskikh
Consistency with Smithay.
2024-06-17ui/config_error_notification: Store TextureBuffersIvan Molodetskikh
Avoids re-importing every frame.
2024-06-10ui/screenshot_ui: Correct fractional scaled behaviorIvan Molodetskikh
2024-06-10Move apply_scale() to utilsIvan Molodetskikh
2024-06-10ui/config_error_notification: Make fractional-scaling awareIvan Molodetskikh
2024-06-10ui/exit_confirm_dialog: Make fractional-scaling awareIvan Molodetskikh
2024-06-10ui/hotkey_overlay: Make fractional-scaling awareIvan Molodetskikh
2024-06-10Implement our own TextureBuffer/RenderElementIvan Molodetskikh
Supports fractional texture scale + has some getters.
2024-05-07Implement do-screen-transition actionIvan Molodetskikh
2024-04-17Resolve animation defaults during parsingIvan Molodetskikh