rustN00b
5b753be213
Add missing periods to action doc comments
2025-02-13 10:37:41 +03:00
Ivan Molodetskikh
a605e7f622
Implement custom hotkey overlay titles
2025-02-13 10:30:33 +03:00
Ivan Molodetskikh
513488f6b8
hotkey overlay: Add pretty for space
2025-02-13 10:30:33 +03:00
Ivan Molodetskikh
43ea4a172a
hotkey overlay: Put Ctrl and Shift before Alt
...
They are commonly written this way.
2025-02-13 10:30:33 +03:00
Ivan Molodetskikh
d47b59879a
animation/spring: Add a check for from = to in duration()
...
The overdamped code below was dividing by zero in this case and triggering a
panic.
2025-02-13 08:47:23 +03:00
Ivan Molodetskikh
ef80bcc834
Parse the config on the file watcher thread
...
It takes a while, so let's not block the main thread.
2025-02-12 20:56:32 +03:00
Ivan Molodetskikh
eb8bd3894a
watcher: Allow running a processing function on the thread
2025-02-12 20:56:32 +03:00
Ivan Molodetskikh
7e552333a9
tab indicator: Add corner-radius setting
2025-02-12 07:59:46 +03:00
Ivan Molodetskikh
213eafa203
wiki: Add Since to drag-lock
2025-02-11 18:24:17 +03:00
Ivan Molodetskikh
7b18ff8870
input: Intercept Enter key when confirming the exit dialog
2025-02-11 13:22:11 +03:00
Ivan Molodetskikh
5246e2ff25
wiki: Add note that is-window-cast-target doesn't match monitor casts
2025-02-11 10:40:51 +03:00
Ivan Molodetskikh
dde9214ae4
wiki: Move sentence to a better spot
2025-02-11 10:35:15 +03:00
Ivan Molodetskikh
29b7a41692
Implement is-window-cast-target window rule matcher
2025-02-11 10:31:12 +03:00
Ivan Molodetskikh
216753678a
wiki: Add a page for tabs
2025-02-11 08:30:03 +03:00
dependabot[bot]
b9e67f6565
build(deps): bump zbus in the rust-dependencies group across 1 directory
...
Bumps the rust-dependencies group with 1 update in the / directory: [zbus](https://github.com/dbus2/zbus ).
Updates `zbus` from 5.3.1 to 5.5.0
- [Release notes](https://github.com/dbus2/zbus/releases )
- [Commits](https://github.com/dbus2/zbus/compare/zbus-5.3.1...zbus-5.5.0 )
---
updated-dependencies:
- dependency-name: zbus
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: rust-dependencies
...
Signed-off-by: dependabot[bot] <support@github.com >
2025-02-10 21:04:23 -08:00
Mikołaj Lercher
3a481b5250
wiki: describe running games with gamescope ( #1112 )
...
* wiki: describe running games with gamescope
* Update wiki/Application-Issues.md
---------
Co-authored-by: Ivan Molodetskikh <yalterz@gmail.com >
2025-02-11 07:52:53 +03:00
Ivan Molodetskikh
20769b4c2f
tab indicator: Animate opening
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
14ac2cff4c
tab indicator: Dim colors when column is inactive
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
fde627d955
Implement MulAssign<f32> for Color
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
6942ecc13a
Implement clicking on tab to switch
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
963ff14ed0
Store hit type in PointContents
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
96a3ded2ec
scrolling: Extract tab_indicator_area()
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
a21196ec54
tab indicator: Extract tab_rects()
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
0b83d9932b
tab indicator: Use full column height
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
6bd92ab926
tab indicator: Fix gradient area computation
...
The gradient area should be relative to each tab's geometry. In most cases
these geometries will all match, but not when some tabs have a different size,
for example when they have a fixed size.
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
02eccf7762
layout: Fix/add animations around tabbed columns
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
89cf276779
tests: Mark window_opening/target_size as slow
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
bc701cd529
mapped: Force a frame callback on configure
...
Lets hidden windows respond to events like resizes immediately. This is mainly
relevant for tabbed columns.
This commit doesn't actually force sending the frame callbacks in case we don't
redraw. We'll see if this is a problem or not.
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
bfd81fc290
Make send_frame() a function on Mapped
...
We'll add some extra logic there.
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
0dd8e883b0
tab indicator: Add gaps-between-tabs
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
c31b58e2c9
tab indicator: Implement place-within-column setting
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
b163045757
wiki: Add hide-when-single-tab to default-column-display example
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
41e9ec1364
wiki: Document tab indicators
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
64544a5726
tab indicator: Add position setting
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
d7d5a7f8f6
tab indicator: Add hide-when-single-tab
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
a451f75917
Implement tab indicators
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
1515410012
Add default-column-display window rule
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
8f9e0d029c
Add set-column-display action
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
90f24da631
Move ColumnDisplay to niri-ipc
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
df70140b36
Allow tabbed columns to go fullscreen
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
f90eb0cbe4
Implement tabbed column display mode
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
55e2ea0c3b
layout: Extract tile.hit(), HitType::hit_tile()
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
1d883931b4
Account for border in contents_under()
...
Fixes pointer clicks going through window borders to a layer surface below,
also fixes window not getting activated in all cases from a border click.
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
b65fad09d8
Remove unnecessary mut
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
09a559d3c9
layout: Fix variable names
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
9fc749f3d4
layout/tile: Rename variable
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
f836d1c28a
layout/scrolling: Extract activate_idx()
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
4f05a74aa8
Add alpha parameter to shaders
...
Lets us add extra opacity.
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
c30f522ef2
shader: Return real alpha from alpha()
2025-02-10 07:29:33 -08:00
Ivan Molodetskikh
397e704d64
layout/scrolling: Extract variable
2025-02-07 10:03:38 +03:00