Fix
This commit is contained in:
parent
b0cfc76821
commit
991f5e18e3
|
@ -37,15 +37,11 @@ static char *colors[][3] = {
|
|||
static const char *tags[] = { "", "", "", "", "", "", "", "", "" };
|
||||
|
||||
/* launcher commands (They must be NULL terminated) */
|
||||
static const char* grabc[] = { "grabc", "|", "tr", "-d", "'\n'", "|", "xclip", "-selection", "clipboard", NULL };
|
||||
static const char* bhev[] = { "firefox", "bhev.ru", NULL };
|
||||
static const char* youtube[] = { "firefox", "youtube.com", NULL };
|
||||
|
||||
static const Launcher launchers[] = {
|
||||
/* command name to display */
|
||||
{ grabc, "" },
|
||||
{ bhev, "" },
|
||||
{ youtube, "" },
|
||||
};
|
||||
|
||||
static const Rule rules[] = {
|
||||
|
@ -117,7 +113,6 @@ static const char *volup[] = { "pactl", "set-sink-volume", "0", "+5%", NULL };
|
|||
static const char *voldown[] = { "pactl", "set-sink-volume", "0", "-5%", NULL };
|
||||
static const char *volmute[] = { "pactl", "set-sink-mute", "0", "toggle", NULL };
|
||||
|
||||
static const char *backlightup[] = { "s", "set-sink-mute", "0", "toggle", NULL };
|
||||
static const char *lockcmd[] = { "slock", NULL };
|
||||
|
||||
static const char *dmenucmd[] = { "dmenu_run", "-g", "15", "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL };
|
||||
|
|
38
config.h
38
config.h
|
@ -37,15 +37,11 @@ static char *colors[][3] = {
|
|||
static const char *tags[] = { "", "", "", "", "", "", "", "", "" };
|
||||
|
||||
/* launcher commands (They must be NULL terminated) */
|
||||
static const char* grabc[] = { "grabc", "|", "tr", "-d", "'\n'", "|", "xclip", "-selection", "clipboard", NULL };
|
||||
static const char* bhev[] = { "firefox", "bhev.ru", NULL };
|
||||
static const char* youtube[] = { "firefox", "youtube.com", NULL };
|
||||
|
||||
static const Launcher launchers[] = {
|
||||
/* command name to display */
|
||||
{ grabc, "" },
|
||||
{ bhev, "" },
|
||||
{ youtube, "" },
|
||||
};
|
||||
|
||||
static const Rule rules[] = {
|
||||
|
@ -53,30 +49,31 @@ static const Rule rules[] = {
|
|||
* WM_CLASS(STRING) = instance, class
|
||||
* WM_NAME(STRING) = title
|
||||
*/
|
||||
/* class instance title tags mask isfloating monitor */
|
||||
/* class instance title tags mask isfloating monitor */
|
||||
// ----- 1 -----
|
||||
{ "st-256color", NULL, NULL, 0, 0, -1 },
|
||||
{ "st-256color", NULL, NULL, 0, 0, -1 },
|
||||
// ----- 2 -----
|
||||
{ "Code", NULL, NULL, 1 << 1, 0, -1 },
|
||||
{ "Code", NULL, NULL, 1 << 1, 0, -1 },
|
||||
// ----- 3 -----
|
||||
{ "thunderbird", NULL, NULL, 1 << 2, 0, -1 },
|
||||
{ "KeePassXC", NULL, NULL, 1 << 2, 0, -1 },
|
||||
{ "thunderbird", NULL, NULL, 1 << 2, 0, -1 },
|
||||
{ "KeePassXC", NULL, NULL, 1 << 2, 0, -1 },
|
||||
// ----- 4 -----
|
||||
{ "TelegramDesktop", NULL, NULL, 1 << 3, 0, -1 },
|
||||
{ "discord", NULL, NULL, 1 << 3, 0, -1 },
|
||||
{ "TelegramDesktop", NULL, NULL, 1 << 3, 0, -1 },
|
||||
{ "discord", NULL, NULL, 1 << 3, 0, -1 },
|
||||
// ----- 5 -----
|
||||
{ "Steam", NULL, NULL, 1 << 4, 0, -1 },
|
||||
{ "steamwebhelper", NULL, NULL, 1 << 4, 0, -1 },
|
||||
{ "Steam", NULL, NULL, 1 << 4, 0, -1 },
|
||||
{ "steam", NULL, NULL, 1 << 4, 0, -1 },
|
||||
{ "steamwebhelper", NULL, NULL, 1 << 4, 0, -1 },
|
||||
// ----- 7 -----
|
||||
{ "QjackCtl", NULL, NULL, 1 << 6, 1, -1 },
|
||||
{ "PatchMatrix", NULL, NULL, 1 << 6, 0, -1 },
|
||||
{ "Blueman-manager", NULL, NULL, 1 << 6, 0, -1 },
|
||||
{ "corectrl", NULL, NULL, 1 << 6, 0, -1 },
|
||||
{ "QjackCtl", NULL, NULL, 1 << 6, 1, -1 },
|
||||
{ "PatchMatrix", NULL, NULL, 1 << 6, 0, -1 },
|
||||
{ "Blueman-manager", NULL, NULL, 1 << 6, 0, -1 },
|
||||
{ "corectrl", NULL, NULL, 1 << 6, 0, -1 },
|
||||
// ----- 9 -----
|
||||
{ "firefox", NULL, NULL, 1 << 8, 0, -1 },
|
||||
{ "firefox", NULL, NULL, 1 << 8, 0, -1 },
|
||||
// ----- OTHER -----
|
||||
{ "xwinwrap", NULL, NULL, 1 << 9, 0, -1 },
|
||||
{ NULL, NULL, "broken", 1 << 9, 0, -1 },
|
||||
{ "xwinwrap", NULL, NULL, 1 << 9, 0, -1 },
|
||||
{ NULL, NULL, "broken", 1 << 9, 0, -1 },
|
||||
};
|
||||
|
||||
/* layout(s) */
|
||||
|
@ -116,7 +113,6 @@ static const char *volup[] = { "pactl", "set-sink-volume", "0", "+5%", NULL };
|
|||
static const char *voldown[] = { "pactl", "set-sink-volume", "0", "-5%", NULL };
|
||||
static const char *volmute[] = { "pactl", "set-sink-mute", "0", "toggle", NULL };
|
||||
|
||||
static const char *backlightup[] = { "s", "set-sink-mute", "0", "toggle", NULL };
|
||||
static const char *lockcmd[] = { "slock", NULL };
|
||||
|
||||
static const char *dmenucmd[] = { "dmenu_run", "-g", "15", "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL };
|
||||
|
|
1
dwm.c
1
dwm.c
|
@ -1,3 +1,4 @@
|
|||
|
||||
/* See LICENSE file for copyright and license details.
|
||||
*
|
||||
* dynamic window manager is designed like any other X client as well. It is
|
||||
|
|
Loading…
Reference in New Issue