Fix
This commit is contained in:
parent
b0cfc76821
commit
991f5e18e3
|
@ -37,15 +37,11 @@ static char *colors[][3] = {
|
||||||
static const char *tags[] = { "", "", "", "", "", "", "", "", "" };
|
static const char *tags[] = { "", "", "", "", "", "", "", "", "" };
|
||||||
|
|
||||||
/* launcher commands (They must be NULL terminated) */
|
/* 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* bhev[] = { "firefox", "bhev.ru", NULL };
|
||||||
static const char* youtube[] = { "firefox", "youtube.com", NULL };
|
|
||||||
|
|
||||||
static const Launcher launchers[] = {
|
static const Launcher launchers[] = {
|
||||||
/* command name to display */
|
/* command name to display */
|
||||||
{ grabc, "" },
|
|
||||||
{ bhev, "" },
|
{ bhev, "" },
|
||||||
{ youtube, "" },
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const Rule rules[] = {
|
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 *voldown[] = { "pactl", "set-sink-volume", "0", "-5%", NULL };
|
||||||
static const char *volmute[] = { "pactl", "set-sink-mute", "0", "toggle", 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 *lockcmd[] = { "slock", NULL };
|
||||||
|
|
||||||
static const char *dmenucmd[] = { "dmenu_run", "-g", "15", "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL };
|
static const char *dmenucmd[] = { "dmenu_run", "-g", "15", "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL };
|
||||||
|
|
6
config.h
6
config.h
|
@ -37,15 +37,11 @@ static char *colors[][3] = {
|
||||||
static const char *tags[] = { "", "", "", "", "", "", "", "", "" };
|
static const char *tags[] = { "", "", "", "", "", "", "", "", "" };
|
||||||
|
|
||||||
/* launcher commands (They must be NULL terminated) */
|
/* 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* bhev[] = { "firefox", "bhev.ru", NULL };
|
||||||
static const char* youtube[] = { "firefox", "youtube.com", NULL };
|
|
||||||
|
|
||||||
static const Launcher launchers[] = {
|
static const Launcher launchers[] = {
|
||||||
/* command name to display */
|
/* command name to display */
|
||||||
{ grabc, "" },
|
|
||||||
{ bhev, "" },
|
{ bhev, "" },
|
||||||
{ youtube, "" },
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static const Rule rules[] = {
|
static const Rule rules[] = {
|
||||||
|
@ -66,6 +62,7 @@ static const Rule rules[] = {
|
||||||
{ "discord", NULL, NULL, 1 << 3, 0, -1 },
|
{ "discord", NULL, NULL, 1 << 3, 0, -1 },
|
||||||
// ----- 5 -----
|
// ----- 5 -----
|
||||||
{ "Steam", 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 },
|
{ "steamwebhelper", NULL, NULL, 1 << 4, 0, -1 },
|
||||||
// ----- 7 -----
|
// ----- 7 -----
|
||||||
{ "QjackCtl", NULL, NULL, 1 << 6, 1, -1 },
|
{ "QjackCtl", NULL, NULL, 1 << 6, 1, -1 },
|
||||||
|
@ -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 *voldown[] = { "pactl", "set-sink-volume", "0", "-5%", NULL };
|
||||||
static const char *volmute[] = { "pactl", "set-sink-mute", "0", "toggle", 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 *lockcmd[] = { "slock", NULL };
|
||||||
|
|
||||||
static const char *dmenucmd[] = { "dmenu_run", "-g", "15", "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, 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.
|
/* See LICENSE file for copyright and license details.
|
||||||
*
|
*
|
||||||
* dynamic window manager is designed like any other X client as well. It is
|
* dynamic window manager is designed like any other X client as well. It is
|
||||||
|
|
Loading…
Reference in New Issue