From 53ec96380b8be9be468003899f19221002ddb6a1 Mon Sep 17 00:00:00 2001 From: Chris Sobczak Date: Fri, 26 Jun 2026 21:31:40 -0700 Subject: Add commas --- config.def.h | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) (limited to 'config.def.h') 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 */ }; -- cgit v1.2.3