diff options
| author | Craig Jennings <craigmartinjennings@gmail.com> | 2023-08-11 15:01:26 -0500 |
|---|---|---|
| committer | Craig Jennings <craigmartinjennings@gmail.com> | 2023-08-11 15:01:26 -0500 |
| commit | 0a63dc084aba4216b9fd45f0d7d8e8dc25b6c045 (patch) | |
| tree | daf298679f37d070afa7fa89df0e383e18537d13 /config.def.h | |
| parent | b71034f7ec2ac727200048a97d308f6076f52950 (diff) | |
fixing alarm-clock-applet as floating window
- switching from using the class to an instance worked
Diffstat (limited to 'config.def.h')
| -rw-r--r-- | config.def.h | 38 |
1 files 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 }; |
