Improve the code and re format it :] #13

Merged
anas-elgarhy merged 11 commits from improve-code into master 2022-10-31 17:29:08 +00:00
Showing only changes of commit 40b65a0171 - Show all commits

View file

@ -20,7 +20,9 @@ static const char *fonts[] = {"monospace:size=7", "Noto Color Emoji:size=8",
static const char dmenufont[] = "monospace:size=8"; static const char dmenufont[] = "monospace:size=8";
#ifndef STDDEF_H #ifndef STDDEF_H
#include <stddef.h> #include <stddef.h>
#endif #endif
#include "colors/defualt.h" #include "colors/defualt.h"
@ -51,13 +53,13 @@ static const Rule rules[] = {
* WM_NAME(STRING) = title * WM_NAME(STRING) = title
*/ */
/* class instance title tags mask isfloating monitor */ /* class instance title tags mask isfloating monitor */
{"Gimp", NULL, NULL, 9 << 9, 1, -1}, {"Gimp", NULL, NULL, 9 << 8, 1, -1}, // 0100000000
// { WEBBROWSER, NULL, NULL, 1 << 8, 0, -1 }, {"Tor Browser", "Navigator", NULL, 9 << 9, 0, -1}, // Open it in tag 10 (9 in array)
{"Tor Browser", NULL, NULL, 9, 0, -1}, {"KeePassXC", "keepassxc", NULL, 9 << 9, 0, -1}, // 1000000000
{"keepassxc", NULL, NULL, 9, 0, -1}, {"firefoxdeveloperedition", "Navigator", NULL, 1 << 0, 0, -1}, // 0000000001
{"firefoxdeveloperedition", NULL, NULL, 6 << 9, 0, -1}, {"discord", NULL, NULL, 4 << 1, 0, -1}, // 0000001000
{"discord", NULL, NULL, 4 << 9, 0, -1}, {"Virt-manager", "virt-manager", NULL, 9 << 7, 0, -1}, // 0010000000
{"VirtualBox Manager", "VirtualBox Manager", NULL, 9 << 7, 0, -1}, // 0010000000
}; };
/* helper for spawning shell commands in the pre dwm-5.0 fashion */ /* helper for spawning shell commands in the pre dwm-5.0 fashion */