summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.def.h22
1 files changed, 10 insertions, 12 deletions
diff --git a/config.def.h b/config.def.h
index 010394a..756bab1 100644
--- a/config.def.h
+++ b/config.def.h
@@ -15,8 +15,6 @@ static const float urgentcolor[] = COLOR(0xff0000ff);
static const float fullscreen_bg[] = {0.0f, 0.0f, 0.0f, 1.0f}; /* You can also use glsl colors */
static const float default_opacity_unfocus = 0.70f;
static const float default_opacity_focus = 1.00f;
-static const float dof = default_opacity_focus;
-static const float dou = default_opacity_unfocus;
/* tagging - TAGCOUNT must be no greater than 31 */
#define TAGCOUNT (5)
@@ -30,16 +28,16 @@ static const Rule rules[] = {
// { "firefox_EXAMPLE", NULL, 1 << 8, 0, -1 }, /* Start on ONLY tag "9" */
// { "Gimp_EXAMPLE", NULL, 0, 1, 1.00, 0.20, -1 }, /* Start on currently visible tags floating, not tiled */
// { "firefox_EXAMPLE", NULL, 1 << 8, 0, 1.00, 1.00, -1 }, /* Start on ONLY tag "9" */
- /* app_id title tags mask isfloating alpha focus alpha unfocus monitor */
- { "Gimp", NULL, 0, 1, dof dou -1 },
- { "mpv", NULL, 0, 1, dof dou -1 },
- { "Firefox", NULL, 1, 0, dof dou -1 },
- { "firefox", NULL, 1, 0, dof dou -1 },
- { "LibreWolf", NULL, 1, 0, dof dou -1 },
- { "librewolf", NULL, 1, 0, dof dou -1 },
- { "Thunderbird",NULL, 1 << 1, 0, dof dou 0 },
- { "Pavucontrol",NULL, 1 << 4, 0, dof dou 0 },
- { "pavucontrol",NULL, 1 << 4, 0, dof dou 0 },
+ /* app_id title tags mask isfloating alpha focus alpha unfocus monitor */
+ { "Gimp", NULL, 0, 1, default_opacity_focus, default_opacity_unfocus, -1 },
+ { "mpv", NULL, 0, 1, default_opacity_focus, default_opacity_unfocus, -1 },
+ { "Firefox", NULL, 1, 0, default_opacity_focus, default_opacity_unfocus, -1 },
+ { "firefox", NULL, 1, 0, default_opacity_focus, default_opacity_unfocus, -1 },
+ { "LibreWolf", NULL, 1, 0, default_opacity_focus, default_opacity_unfocus, -1 },
+ { "librewolf", NULL, 1, 0, default_opacity_focus, default_opacity_unfocus, -1 },
+ { "Thunderbird",NULL, 1 << 1, 0, default_opacity_focus, default_opacity_unfocus, 0 },
+ { "Pavucontrol",NULL, 1 << 4, 0, default_opacity_focus, default_opacity_unfocus, 0 },
+ { "pavucontrol",NULL, 1 << 4, 0, default_opacity_focus, default_opacity_unfocus, 0 },
/* default/example rule: can be changed but cannot be eliminated; at least one rule must exist */
};