Hiroaki Yamamoto
f0d50891e5
Merge 52a1c1c880 into 72f59c32a2
2024-08-25 11:32:23 +03:00
01micko
72f59c32a2
docs: add description for new theme buttons 'shade' and 'desk'
2024-08-25 07:25:30 +02:00
Andrew J. Hesford
1bcaf8255f
action: rename "omnipresent" button options for Openbox compatibility
...
- Mouse context "Omnipresent" -> "AllDesktops"
- Theme elements "window.*.button.omnipresent" -> "window.*.button.desk"
- Update documentation accordingly
2024-08-25 07:22:23 +02:00
Orfeas
dda47a5e14
action: make "FocusOutput" behave like "MoveToOutput"
2024-08-24 14:59:42 -04:00
Standreas
f2b6661db4
Fix typo in rc.xml.all
2024-08-24 10:16:42 -04:00
Andrew J. Hesford
b7bccc8026
ssd: add optional omnipresent button
2024-08-24 05:42:38 +02:00
Andrew J. Hesford
186a07be9b
ssd: add optional shade button
2024-08-24 05:42:38 +02:00
tokyo4j
52a1c1c880
[experiment] support menu.yaml
2024-08-23 17:24:44 +09:00
tokyo4j
85b6e25484
config: support rc.yaml
...
Based on @johanmalm's work.
This adds libyaml as an optional dependency.
2024-08-23 17:24:44 +09:00
tokyo4j
b667107d1a
input: move <scrollFactor> to <libinput> section
...
This allows per-device configuration of scroll factor (e.g. setting
different scroll factors for mice and touchpads).
2024-08-23 16:20:56 +09:00
Johan Malm
228a74ca48
Merge pull request #2088 from xi/titlelayout
...
theme: implement titleLayout
2024-08-21 19:20:34 +01:00
droc12345
8fda9968e6
menu: add title theme options ( #2097 )
...
Add theme options `menu.title.text.color` and `menu.title.text.justify`.
Add font place MenuHeader: `<font place="MenuHeader">`
Add `Oblique` font style
```
<theme>
<font>
<slant>Oblique</slant>
</font>
</theme>
```
2024-08-21 18:27:07 +01:00
Tobias Bengfort
9a252249c9
ssd: add titleLayout setting
2024-08-20 23:04:10 +02:00
Jens Peters
cd961b1ac1
action: add Enable/DisableTabletMouseEmulation
...
Useful for window rules.
2024-08-20 21:45:59 +01:00
Johan Malm
0552c6b7f0
menu: support titles
...
...defined by `<separator label="">`.
Also add the theme option `menu.title.bg.color: #589bda`
The following will be added in separate commits
- menu.title.bg.border.color: #7cb6ec
- menu.title.text.color: #ffffff
- menu.title.text.justify: center
2024-08-20 18:01:22 +01:00
Jens Peters
f20b2c7632
input: apply tablet rotation before area transformation
...
This makes the behavior consistent with auto-rotation
as a result of output mapping.
2024-08-08 20:27:06 +01:00
Jens Peters
df12572f29
docs: clarify tablet rotation for mapped outputs
2024-08-08 20:27:06 +01:00
tokyo4j
670cc0f511
Rename <snapping><dragResistance> to <resistance><unSnapThreshold>
...
As we already have <resistance><{screen,window}EdgeStrength>,
<resistance> will be a better place for this setting.
2024-08-08 09:49:53 +09:00
Jens Peters
433a4509af
tearing: add fullscreen options ( #1941 )
...
Co-authored-by: Consolatis <35009135+Consolatis@users.noreply.github.com>
2024-08-06 21:23:10 +01:00
Johan Malm
19f0b769de
labwc-config(5): minor refactor to fix pandoc rendering
2024-08-06 21:01:36 +02:00
Tobias Bengfort
116382fd89
keybind: implement allowWhenLocked
...
fixes #2034
see bc258a3be2/sway/sway.5.scd (L409)
2024-08-06 19:15:06 +02:00
Tobias Bengfort
6dd0d69889
docs: integrate onRelease into keybind
2024-08-06 19:15:06 +02:00
tokyo4j
c202d77c2d
Add resistance when dragging tiled windows
...
Adds a config option <snapping><dragResistance> with default value 20.
This prevents tiled/maximized windows from being unintentionally untiled.
2024-08-02 23:40:26 +02:00
Christopher Snowhill
d033a2fbf6
output: allow tearing with atomic mode setting
...
Additionally, track errors and abandon the tearing allowance when it
cannot be set for two-seconds' worth of consecutive frames.
2024-07-20 08:09:00 -04:00
Andrew J. Hesford
14d9bbab90
xwayland: support xinitrc scripts to configure server on launch ( #1963 )
2024-07-20 09:40:11 +01:00
Consus
e4afa10fe4
theme: allow to set window button size ( #1965 )
...
This commit introduces new option "window.button.width". Despite the name
it currently affects both width and height.
2024-07-20 09:33:57 +01:00
tokyo4j
46ec513630
view: implement cascade placement policy
...
Adds following settings:
<placement>
<policy>cascade</policy>
<cascadeOffset x="40" y="30" />
</placement>
"Cascade" policy places a new window at the center of the screen like
"center" policy, but possibly shifts its position to bottom-right so the
new window doesn't cover existing windows.
The algorithm is copied from KWin's implementation:
df9f8f8346/src/placement.cpp (L589)
Also added some helper functions to manipulate `wlr_box`.
2024-07-20 08:59:46 +01:00
Jens Peters
e26ec472b2
docs: add tablet tool section
2024-07-19 22:45:41 +01:00
Birger Schacht
3be20dc6c7
docs: fix typo in labwc-config.5.scd
2024-07-13 09:46:29 -04:00
Andrew J. Hesford
9153c22dab
xwayland: allow persistence
...
Closes : #1958 .
2024-07-04 05:19:19 +02:00
droc12345
f2755a4e2e
action: remember initial direction of PreviousView
...
...when cycling windows. Also make the toggling of direction when shift
is pressed relative to the initial direction. For example if W-j is
bound to PreviousWindow, subsequent key presses will continue to
cycle backwards unless shift if pressed.
Add documentation for using shift/arrow keys in Next/Previous
2024-06-26 22:03:56 +01:00
Jens Peters
b63c6a0fc2
action: add ToggleTabletMouseEmulation
...
Useful for switching between application-defined and
mapped tablet pad buttons. Also for quickly troubleshooting
tablet behavior.
2024-06-18 22:13:28 +01:00
Johan Malm
1dadb12807
menu: capitalize Roll Up/Down
...
...because it seems like better English and is more consistent with other
menu entries.
Same for 'Move Left' and 'Move Right'
2024-06-15 21:31:00 +01:00
tokyo4j
bb1d0b4352
Implement <resize><drawContents>
...
<resize><drawContents>[yes|no] configures whether to let the clients
redraw its window content content while resizing.
When <resize><drawContents> is set to no, a multi-rect is shown to
indicate the geometry of the resized window.
2024-06-15 21:17:01 +01:00
Jens Peters
dc27be2471
docs: clarify tablet button mapping
2024-06-13 21:23:37 +01:00
Simon Long
84c222a84f
Add onRelease option to <keybind>
...
...to make keybind actions fire on the release event rather then when the
key is first pressed. This is useful for binding actions to modifier keys
only. The most likely use-case for this is the binding of a Super key to a
menu, for example:
<keybind key="Super_L" onRelease="yes">
<action name="Execute" command="rofi -show drun"/>
</keybind>
If another keybind is issued between the press and release, the on-release
keybind is cancelled.
Co-authored-by: @johanmalm
2024-06-09 21:15:58 +01:00
Narrat
bbe60088e5
docs: add example shutdown file
...
Closes #1809
2024-06-01 23:53:34 +02:00
Yuri Nesterov
65f7499f1c
wayland: add support for security-context-v1
2024-05-29 22:28:06 +01:00
Jens Peters
6a9564c18c
docs: add mouse emulation section
...
Also clarify tablet button mapping restrictions.
2024-05-27 22:40:50 +02:00
Johan Malm
b1b48537a1
Add action UnMaximize
...
Suggested-by: @Vladimir-csp
Fixes : #1825
2024-05-27 21:02:31 +01:00
tokyo4j
c1646ef2ea
doc: fix inconsistent wording
...
Fixup for 34290ef6
2024-05-21 20:43:08 +09:00
Simon Long
6c7cdc246e
Documentation
2024-05-19 22:17:04 +01:00
Tobias Bengfort
41a3b68846
decorations: add SetDecorations action
2024-05-19 19:03:42 +01:00
Johan Malm
bab1be834d
Deprecate MoveToCursor
...
Use <action name="AutoPlace" policy="cursor"/> instead.
Related-to: #1785
Suggested-by: @tokyo4j
2024-05-19 19:57:20 +02:00
Andrew J. Hesford
89589f17c4
action: allow configurable policy in AutoPlace action
...
Closes : #1784 .
2024-05-19 17:32:52 +01:00
Tobias Bengfort
7bc3cae91a
query: add window type filter for if-actions
2024-05-18 20:04:08 +01:00
Simon Long
8ba066a1a5
Add screen magnifier
...
This adds a screen magnifier which can be controlled with the
`ZoomIn` / `ZoomOut` and `ToggleMagnify` actions.
It scales up part of the rendered framebuffer so the magnification
may end up looking blurry depending on the magnification scale.
PR #1774
2024-05-16 00:07:23 +02:00
01micko
d30fbbeafa
rc.xml.all: s/y/height/ in WindowRule ReSizeTo comment
2024-05-08 07:16:05 +01:00
tokyo4j
4b6efb7307
cursor: implement <menu><ignoreButtonReleasePeriod>
...
Addresses UX degradation introduced by commit 1d3ed457 .
This prevents clicks with small movement with the intention of opening
the menu from unexpectedly closing the menu or selecting a menu item.
2024-05-01 19:08:07 +09:00
Tomi Ollila
96d5d80be2
docs: refer labwc-actions(5), not labwc-action(5)
2024-04-29 22:59:42 +02:00