25a736e323
runtime(i3config/swayconfig): add all option for i3config only
...
Since i3 version 4.24, popup_during_fullscreen has new
option `all`. So add the `all` option for popup_during_fullscreen to
prevent `all` option highlighted as error.
However, sway won't implement `all` option for popup_during_fullscreen,
so let's remove the extra options from the syntax cluster in swayconfig
syntax script after sourcing the i3config.
Reference:
- https://i3wm.org/docs/userguide.html#_popups_during_fullscreen_mode
- https://github.com/swaywm/sway/issues/8746
closes : #18760
Signed-off-by: Robertus Chris <robertusdchris@gmail.com >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2025-11-26 20:37:09 +00:00
20e78ee807
runtime(swayconfig): support new config options in syntax script
...
From sway(5):
- allow_tearing
- primary_selection
- swaybg_command
- swaynag_command
From sway-output(5):
- color_profile
- allow_tearing
From sway-input(5):
- clickfinger_button_map
- rotation_angle
- scroll_button_lock
closes : #18293
Signed-off-by: Felix Pehla <29adc1fd92@gmail.com >
Signed-off-by: James Eapen <james.eapen@vai.org >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2025-09-23 20:31:18 +00:00
f10db25367
runtime(swayconfig): add flag for bindsym/bindcode to syntax script
...
Add the `--inhibited` flag for the bindsym/bindcode commands.
closes : #15891
Signed-off-by: CismonX <admin@cismon.net >
Signed-off-by: James Eapen <james.eapen@vai.org >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2024-10-17 21:44:35 +02:00
b1ffc52694
runtime(i3config/swayconfig): fix floating_modifier highlight ( #14841 )
...
Signed-off-by: JosefLitos <litosjos@fit.cvut.cz >
Signed-off-by: James Eapen <james.eapen@vai.org >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2024-05-24 17:31:36 +02:00
22ac941208
runtime(i3config/swayconfig): support floating_modifier none; revert broken highlighting
...
- fix floating_modifier $mod normal|inverse was being hightlighted as error
reverting the floating_modifier change from dd83b63
- will currently allow invalid syntax after floating_modifier
fixes : #14826
closes : #14827
Co-authored-by: JosefLitos <litosjos@fit.cvut.cz >
Signed-off-by: James Eapen <james.eapen@vai.org >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2024-05-23 20:48:54 +02:00
679f5abb99
runtime(i3config/swayconfig): allow indented commands ( #14757 )
...
fixes : #14752
Co-authored-by: jamespeapen <jamespeapen@users.noreply.github.com >
Signed-off-by: Josef Litoš <54900518+JosefLitos@users.noreply.github.com >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2024-05-13 22:03:42 +02:00
dd83b63eb5
runtime(i3config/swayconfig): update syntax scripts
...
modifications with the goals of:
- simplifying structure by using group `cluster`s
- improving visual highlighting responsiveness by using `nextgroup`
- improving recursive wm-msg command highlighting
- separating command variants meant for runtime and for config only
closes : #14544
Signed-off-by: Josef Litoš <54900518+JosefLitos@users.noreply.github.com >
Signed-off-by: Christian Brabandt <cb@256bit.org >
2024-04-15 19:38:04 +02:00
46d67d22b9
runtime(swayconfig): add focus_follows_mouse and smart_qaps syntax keywords
...
See:
0aceff7469/sway/sway.5.scd (L680)
`focus_follows_mouse yes|no|always`
0aceff7469/sway/sway.5.scd (L770)
closes : #13797
Signed-off-by: James Eapen <james.eapen@vai.org ><author>
Signed-off-by: Christian Brabandt <cb@256bit.org >
2024-01-17 21:43:31 +01:00
54f70cf078
runtime(swayconfig): Update syntax file ( #13192 )
...
Signed-off-by: Christian Brabandt <cb@256bit.org >
2023-09-27 18:58:15 +02:00
8b2457a381
runtime(swayconfig): improve syntax highlighting ( #13060 )
...
* syntax(swayconfig): improved highlighting
* syntax(swayconfig): adapt to i3config structure
Signed-off-by: Christian Brabandt <cb@256bit.org >
2023-09-12 20:24:47 +02:00
10e8ff9b26
Update runtime files
2023-06-10 21:40:39 +01:00
b59ae59a58
Update runtime files
2022-11-23 23:46:31 +00:00
e1f3fd1d02
Update runtime files
2022-08-15 18:51:32 +01:00
2ecbe53f45
Update runtime files
2022-07-29 21:36:21 +01:00