Home

Awesome

sxhkdrc Syntax

Syntax definition for the sxhkd configuration file for Visual Studio Code.

The tokenizing rules are based on the sxhkd documentation.

I didn't find any pre-existing sxhkd highlighters to work from, so I worked this up from scratch. (And it's my first TextMate grammar.)

In other words - GitHub issues/pull-requests are welcome if you find errors or would like to improve this extension.

Screenshots

Examples from some of the color themes that VS Code includes by default:

<img title="Visual Studio Light" align="left" style="margin: 1%; width: 48%" src="screenshots/sxhkdrc_light_vs.png"> <img title="Visual Studio Dark" align="left" style="margin: 1%; width: 48%" src="screenshots/sxhkdrc_dark_vs.png"> <img title="Solarized Light" align="left" style="margin: 1%; width: 48%" src="screenshots/sxhkdrc_light_solar.png"> <img title="Solarized Dark" align="left" style="margin: 1%; width: 48%" src="screenshots/sxhkdrc_dark_solar.png"> <img title="Red" align="left" style="margin: 1%; width: 48%" src="screenshots/sxhkdrc_dark_red.png"> <img title="Monokai" align="left" style="margin: 1%; width: 48%" src="screenshots/sxhkdrc_dark_monokai.png">