Skip to content

Commit ff6f277

Browse files
qwertviopchrisbra
authored andcommitted
runtime(swayconfig): add additional criteria and hdr
Sway 1.11 added `security_context_v1` metadata as criteria: - `sandbox_engine` - `sandbox_app_id` - `sandbox_instance_id` Sway 1.12 will add the `tag` criteria for `xdg_toplevel_tag_v1`, as well as the `hdr` output option (with options `on`, `off`, and `toggle`). closes: #19884 Signed-off-by: Felix Pehla <[email protected]> Signed-off-by: James Eapen <[email protected]> Signed-off-by: Christian Brabandt <[email protected]>
1 parent 28e75c5 commit ff6f277

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

runtime/syntax/swayconfig.vim

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
" Language: sway config file
33
" Original Author: Josef Litos (litoj/i3config.vim)
44
" Maintainer: James Eapen <[email protected]>
5-
" Version: 1.2.7
6-
" Last Change: 2025-12-02
5+
" Version: 1.2.8
6+
" Last Change: 2026-04-01
77

88
" References:
99
" http://i3wm.org/docs/userguide.html#configuring
@@ -28,7 +28,7 @@ syn cluster i3ConfigPopupFullscreenOpts remove=i3ConfigPopupFullscreenOptsExtra
2828
syn keyword i3ConfigActionKeyword opacity urgent shortcuts_inhibitor splitv splith splitt contained contained skipwhite nextgroup=i3ConfigOption
2929
syn keyword i3ConfigOption set plus minus allow deny csd v h t contained contained skipwhite nextgroup=i3ConfigOption,@i3ConfigValue
3030

31-
syn keyword i3ConfigConditionProp app_id pid shell contained
31+
syn keyword i3ConfigConditionProp app_id pid shell sandbox_app_id sandbox_engine sandbox_instance_id tag contained
3232

3333
syn keyword i3ConfigWorkspaceDir prev_on_output next_on_output contained
3434

@@ -134,7 +134,7 @@ syn match swayConfigSeatIdent /[^ ,;]\+/ contained contains=@i3ConfigStrVar next
134134
syn keyword i3ConfigKeyword seat contained skipwhite nextgroup=swayConfigSeatIdent
135135

136136
" Output monitors
137-
syn keyword swayConfigOutputOpts mode resolution res modeline position pos scale scale_filter subpixel transform disable enable toggle power dpms max_render_time adaptive_sync render_bit_depth color_profile allow_tearing contained skipwhite nextgroup=swayConfigOutputOptVals,@i3ConfigValue,swayConfigOutputMode
137+
syn keyword swayConfigOutputOpts mode resolution res modeline position pos scale scale_filter subpixel transform disable enable toggle power dpms max_render_time adaptive_sync render_bit_depth color_profile allow_tearing hdr contained skipwhite nextgroup=swayConfigOutputOptVals,@i3ConfigValue,swayConfigOutputMode
138138
syn keyword swayConfigOutputOptVals linear nearest smart rgb bgr vrgb vbgr none toggle srgb contained skipwhite nextgroup=swayConfigOutputOptVals,@i3ConfigValue
139139
syn keyword swayConfigOutputBgVals solid_color fill stretch fit center tile contained skipwhite nextgroup=@i3ConfigColVar
140140
syn match swayConfigOutputBg /[#$]\S\+ solid_color/ contained contains=@i3ConfigColVar,swayConfigOutputBgVals skipwhite nextgroup=swayConfigOutputOpts

0 commit comments

Comments
 (0)