diff --git a/config.def.h b/config.def.h index b391270..47d9257 100644 --- a/config.def.h +++ b/config.def.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[] = { @@ -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 }; diff --git a/config.h b/config.h index f4bbef5..47d9257 100644 --- a/config.h +++ b/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 }; diff --git a/dwm b/dwm index b1ba0a8..c3610cd 100755 Binary files a/dwm and b/dwm differ diff --git a/dwm.c b/dwm.c index 4f95116..af86efd 100644 --- a/dwm.c +++ b/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 diff --git a/dwm.o b/dwm.o index 4898290..48d681c 100644 Binary files a/dwm.o and b/dwm.o differ