From 0a63dc084aba4216b9fd45f0d7d8e8dc25b6c045 Mon Sep 17 00:00:00 2001 From: Craig Jennings Date: Fri, 11 Aug 2023 15:01:26 -0500 Subject: fixing alarm-clock-applet as floating window - switching from using the class to an instance worked --- config.def.h | 38 +++++++++++++++++++------------------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/config.def.h b/config.def.h index e5efc97..8287c7d 100644 --- a/config.def.h +++ b/config.def.h @@ -79,21 +79,21 @@ static const Rule rules[] = { * WM_NAME(STRING) = title */ - /* class instance title tags mask isfloating isterminal noswallow monitor */ - { "Gimp", NULL, NULL, 0, 1, 0, 0, -1 }, - { "gnome-calculator", NULL, NULL, 0, 1, 0, 0, -1 }, - { "Alarm-clock-applet", NULL, NULL, 0, 1, 0, 0, -1 }, - { "Blueman-manager", NULL, NULL, 0, 1, 0, 0, -1 }, - { "Firefox", NULL, NULL, 0, 0, 0, -1, -1 }, - { "st", NULL, NULL, 0, 0, 1, 0, -1 }, - { "XTerm", NULL, NULL, 0, 0, 1, 0, -1 }, - { NULL, "spaudio", NULL, SPTAG(0), 1, 0, 0, -1 }, - { NULL, "spmon", NULL, SPTAG(1), 1, 0, 0, -1 }, - { NULL, "spmp", NULL, SPTAG(2), 1, 0, 0, -1 }, - { NULL, "spbt", NULL, SPTAG(3), 1, 0, 0, -1 }, - { NULL, "spterm", NULL, SPTAG(4), 1, 1, 0, -1 }, - { NULL, "spfm", NULL, SPTAG(5), 1, 0, 0, -1 }, - { NULL, NULL, "Event Tester", 0, 1, 0, 1, -1 }, /* xev */ + /* class instance title tags mask isfloating isterminal noswallow monitor */ + { "Gimp", NULL, NULL, 0, 1, 0, 0, -1 }, + { "gnome-calculator", NULL, NULL, 0, 1, 0, 0, -1 }, + { NULL, "alarm-clock-applet", NULL, 0, 1, 0, 0, -1 }, + { "Blueman-manager", NULL, NULL, 0, 1, 0, 0, -1 }, + { "Firefox", NULL, NULL, 0, 0, 0, -1, -1 }, + { "st", NULL, NULL, 0, 0, 1, 0, -1 }, + { "XTerm", NULL, NULL, 0, 0, 1, 0, -1 }, + { NULL, "spaudio", NULL, SPTAG(0), 1, 0, 0, -1 }, + { NULL, "spmon", NULL, SPTAG(1), 1, 0, 0, -1 }, + { NULL, "spmp", NULL, SPTAG(2), 1, 0, 0, -1 }, + { NULL, "spbt", NULL, SPTAG(3), 1, 0, 0, -1 }, + { NULL, "spterm", NULL, SPTAG(4), 1, 1, 0, -1 }, + { NULL, "spfm", NULL, SPTAG(5), 1, 0, 0, -1 }, + { NULL, NULL, "Event Tester", 0, 1, 0, 1, -1 }, /* xev */ }; /* layout(s) */ @@ -132,11 +132,11 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, #define TERMINAL_ENVVAR "TERMINAL" #define BROWSER_ENVVAR "BROWSER" #define EDITOR_ENVVAR "VISUAL" -static const char *termcmd[] = { "st", NULL }; // default terminal; respects $TERMINAL env variable -static const char *browsercmd[] = { "firefox", NULL }; // default browser; respects $BROWSER env variable -static const char *editorcmd[] = { "emacs", NULL }; // default editor; respects $VISUAL env variable +static const char *termcmd[] = { "st", NULL }; // default terminal; respects $TERMINAL env variable +static const char *browsercmd[] = { "firefox", NULL }; // default browser; respects $BROWSER env variable +static const char *editorcmd[] = { "emacs", NULL }; // default editor; respects $VISUAL env variable static const char *torbrowsercmd[] = { "tor-browser", NULL }; -static const char *calccmd[] = { "gnome-calculator", NULL }; +static const char *calccmd[] = { "gnome-calculator", NULL }; /* volume control */ static const char *upvol[] = { "pactl", "set-sink-volume", "0", "+5%", NULL }; -- cgit v1.2.3