summaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorErik Reider <[email protected]>2022-11-12 01:38:09 +0100
committerGitHub <[email protected]>2022-11-11 19:38:09 -0500
commit1881b01d3fe1805d371589969b4a75b9cccd8d26 (patch)
tree9fab0420f88fa980e74f90e58d90a0c36952a880 /sway/commands.c
parent8c907a0bcb75d0e2f8629a9c7a73048bf7594e83 (diff)
Per application color saturation support (#21)
* Initial implementation without fullscreen support * Limit saturation to 2 * Fixed saturation not working for fullscreen applications like CSGO * Fixed saturation ignoring border radius * Updated README and sway.5 man page * Rebased from Master * Added command to README * Fixed nitpicks
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/commands.c b/sway/commands.c
index d60cf84b..986da495 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -127,6 +127,7 @@ static const struct cmd_handler command_handlers[] = {
{ "reload", cmd_reload },
{ "rename", cmd_rename },
{ "resize", cmd_resize },
+ { "saturation", cmd_saturation },
{ "scratchpad", cmd_scratchpad },
{ "shortcuts_inhibitor", cmd_shortcuts_inhibitor },
{ "split", cmd_split },