diff options
author | Erik Reider <[email protected]> | 2022-12-07 06:10:11 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2022-12-07 00:10:11 -0500 |
commit | 988fb247107c469bb98ce3088ad189fa12db7cdd (patch) | |
tree | 67eafa3aef85ccb450adb3a46ed313c4ae32db6d /sway/config.c | |
parent | e82e4de37f5c6fe184da62f228329a37517ccd55 (diff) |
[Feature] Dim inactive windows (#66)
Diffstat (limited to 'sway/config.c')
-rw-r--r-- | sway/config.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sway/config.c b/sway/config.c index 47f80ce7..a9eaaf82 100644 --- a/sway/config.c +++ b/sway/config.c @@ -327,6 +327,9 @@ static void config_defaults(struct sway_config *config) { // SwayFX defaults config->corner_radius = 0; + config->dim_inactive = 1.0f; + color_to_rgba(config->dim_inactive_colors.unfocused, 0x000000FF); + color_to_rgba(config->dim_inactive_colors.urgent, 0x900000FF); // The keysym to keycode translation struct xkb_rule_names rules = {0}; |