Change some conf

This commit is contained in:
BitHeaven 2024-05-30 10:58:13 +05:00
parent b745273428
commit adc2ff2b17
6 changed files with 18 additions and 14 deletions

View File

@ -51,8 +51,9 @@ static const Rule rules[] = {
{ "thunderbird", NULL, NULL, 1 << 2, 0, -1 }, { "thunderbird", NULL, NULL, 1 << 2, 0, -1 },
{ "KeePassXC", NULL, NULL, 1 << 2, 0, -1 }, { "KeePassXC", NULL, NULL, 1 << 2, 0, -1 },
// ----- 4 ----- // ----- 4 -----
{ "KotatogramDesktop", NULL, NULL, 1 << 3, 0, -1 }, { "vesktop", NULL, NULL, 1 << 3, 0, -1 },
{ "discord", NULL, NULL, 1 << 3, 0, -1 }, { "discord", NULL, NULL, 1 << 3, 0, -1 },
{ "KotatogramDesktop", 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 }, { "steam", NULL, NULL, 1 << 4, 0, -1 },
@ -64,6 +65,7 @@ static const Rule rules[] = {
{ "corectrl", NULL, NULL, 1 << 6, 0, -1 }, { "corectrl", NULL, NULL, 1 << 6, 0, -1 },
// ----- 9 ----- // ----- 9 -----
{ "firefox", NULL, NULL, 1 << 8, 0, -1 }, { "firefox", NULL, NULL, 1 << 8, 0, -1 },
{ "librewolf-default", NULL, NULL, 1 << 8, 0, -1 },
// ----- OTHER ----- // ----- OTHER -----
{ "xwinwrap", NULL, NULL, 1 << 9, 0, -1 }, { "xwinwrap", NULL, NULL, 1 << 9, 0, -1 },
// { NULL, NULL, "broken", 1 << 9, 0, -1 }, // { NULL, NULL, "broken", 1 << 9, 0, -1 },
@ -124,14 +126,14 @@ static const Key keys[] = {
{ 0, XF86XK_MonBrightnessUp, spawn, {.v = backlightup } }, { 0, XF86XK_MonBrightnessUp, spawn, {.v = backlightup } },
{ 0, XF86XK_MonBrightnessDown, spawn, {.v = backlightdown } }, { 0, XF86XK_MonBrightnessDown, spawn, {.v = backlightdown } },
{ 0, XF86XK_AudioMute, spawn, {.v = volmute } }, { 0, XF86XK_AudioMute, spawn, {.v = volmute } },
{ SUPERKEY, XK_p, spawn, {.v = dmenucmd } }, { SUPERKEY, XK_d, spawn, {.v = dmenucmd } },
{ SUPERKEY, XK_Return, spawn, {.v = termcmd } }, { SUPERKEY, XK_Return, spawn, {.v = termcmd } },
{ SUPERKEY, XK_b, togglebar, {.i = 1} }, { SUPERKEY, XK_b, togglebar, {.i = 1} },
{ SUPERKEY|ShiftMask, XK_b, togglebar, {.i = 2} }, { SUPERKEY|ShiftMask, XK_b, togglebar, {.i = 2} },
{ ALTKEY, XK_Tab, focusstack, {.i = +1 } }, { ALTKEY, XK_Tab, focusstack, {.i = +1 } },
{ SUPERKEY, XK_i, incnmaster, {.i = +1 } }, { SUPERKEY, XK_i, incnmaster, {.i = +1 } },
{ SUPERKEY, XK_d, incnmaster, {.i = -1 } }, { SUPERKEY, XK_p, incnmaster, {.i = -1 } },
{ SUPERKEY, XK_h, setmfact, {.f = -0.05} }, { SUPERKEY, XK_o, setmfact, {.f = -0.05} },
{ SUPERKEY, XK_l, setmfact, {.f = +0.05} }, { SUPERKEY, XK_l, setmfact, {.f = +0.05} },
{ SUPERKEY|ShiftMask, XK_Return, zoom, {0} }, { SUPERKEY|ShiftMask, XK_Return, zoom, {0} },
{ SUPERKEY, XK_q, killclient, {0} }, { SUPERKEY, XK_q, killclient, {0} },
@ -171,9 +173,9 @@ static const Button buttons[] = {
{ ClkLtSymbol, 0, Button1, setlayout, {0} }, { ClkLtSymbol, 0, Button1, setlayout, {0} },
{ ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
{ ClkStatusText, 0, Button2, spawn, {.v = termcmd } }, { ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
{ ClkClientWin, ALTKEY, Button1, movemouse, {0} }, { ClkClientWin, SUPERKEY, Button1, movemouse, {0} },
{ ClkClientWin, ALTKEY, Button2, togglefloating, {0} }, { ClkClientWin, SUPERKEY, Button2, togglefloating, {0} },
{ ClkClientWin, ALTKEY, Button3, resizemouse, {0} }, { ClkClientWin, SUPERKEY, Button3, resizemouse, {0} },
{ ClkTagBar, 0, Button1, view, {0} }, { ClkTagBar, 0, Button1, view, {0} },
{ ClkTagBar, 0, Button3, toggleview, {0} }, { ClkTagBar, 0, Button3, toggleview, {0} },
{ ClkTagBar, SUPERKEY, Button1, tag, {0} }, { ClkTagBar, SUPERKEY, Button1, tag, {0} },

View File

@ -51,8 +51,9 @@ static const Rule rules[] = {
{ "thunderbird", NULL, NULL, 1 << 2, 0, -1 }, { "thunderbird", NULL, NULL, 1 << 2, 0, -1 },
{ "KeePassXC", NULL, NULL, 1 << 2, 0, -1 }, { "KeePassXC", NULL, NULL, 1 << 2, 0, -1 },
// ----- 4 ----- // ----- 4 -----
{ "KotatogramDesktop", NULL, NULL, 1 << 3, 0, -1 }, { "vesktop", NULL, NULL, 1 << 3, 0, -1 },
{ "discord", NULL, NULL, 1 << 3, 0, -1 }, { "discord", NULL, NULL, 1 << 3, 0, -1 },
{ "KotatogramDesktop", 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 }, { "steam", NULL, NULL, 1 << 4, 0, -1 },
@ -64,6 +65,7 @@ static const Rule rules[] = {
{ "corectrl", NULL, NULL, 1 << 6, 0, -1 }, { "corectrl", NULL, NULL, 1 << 6, 0, -1 },
// ----- 9 ----- // ----- 9 -----
{ "firefox", NULL, NULL, 1 << 8, 0, -1 }, { "firefox", NULL, NULL, 1 << 8, 0, -1 },
{ "librewolf-default", NULL, NULL, 1 << 8, 0, -1 },
// ----- OTHER ----- // ----- OTHER -----
{ "xwinwrap", NULL, NULL, 1 << 9, 0, -1 }, { "xwinwrap", NULL, NULL, 1 << 9, 0, -1 },
// { NULL, NULL, "broken", 1 << 9, 0, -1 }, // { NULL, NULL, "broken", 1 << 9, 0, -1 },
@ -124,14 +126,14 @@ static const Key keys[] = {
{ 0, XF86XK_MonBrightnessUp, spawn, {.v = backlightup } }, { 0, XF86XK_MonBrightnessUp, spawn, {.v = backlightup } },
{ 0, XF86XK_MonBrightnessDown, spawn, {.v = backlightdown } }, { 0, XF86XK_MonBrightnessDown, spawn, {.v = backlightdown } },
{ 0, XF86XK_AudioMute, spawn, {.v = volmute } }, { 0, XF86XK_AudioMute, spawn, {.v = volmute } },
{ SUPERKEY, XK_p, spawn, {.v = dmenucmd } }, { SUPERKEY, XK_d, spawn, {.v = dmenucmd } },
{ SUPERKEY, XK_Return, spawn, {.v = termcmd } }, { SUPERKEY, XK_Return, spawn, {.v = termcmd } },
{ SUPERKEY, XK_b, togglebar, {.i = 1} }, { SUPERKEY, XK_b, togglebar, {.i = 1} },
{ SUPERKEY|ShiftMask, XK_b, togglebar, {.i = 2} }, { SUPERKEY|ShiftMask, XK_b, togglebar, {.i = 2} },
{ ALTKEY, XK_Tab, focusstack, {.i = +1 } }, { ALTKEY, XK_Tab, focusstack, {.i = +1 } },
{ SUPERKEY, XK_i, incnmaster, {.i = +1 } }, { SUPERKEY, XK_i, incnmaster, {.i = +1 } },
{ SUPERKEY, XK_d, incnmaster, {.i = -1 } }, { SUPERKEY, XK_p, incnmaster, {.i = -1 } },
{ SUPERKEY, XK_h, setmfact, {.f = -0.05} }, { SUPERKEY, XK_o, setmfact, {.f = -0.05} },
{ SUPERKEY, XK_l, setmfact, {.f = +0.05} }, { SUPERKEY, XK_l, setmfact, {.f = +0.05} },
{ SUPERKEY|ShiftMask, XK_Return, zoom, {0} }, { SUPERKEY|ShiftMask, XK_Return, zoom, {0} },
{ SUPERKEY, XK_q, killclient, {0} }, { SUPERKEY, XK_q, killclient, {0} },
@ -171,9 +173,9 @@ static const Button buttons[] = {
{ ClkLtSymbol, 0, Button1, setlayout, {0} }, { ClkLtSymbol, 0, Button1, setlayout, {0} },
{ ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} }, { ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
{ ClkStatusText, 0, Button2, spawn, {.v = termcmd } }, { ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
{ ClkClientWin, ALTKEY, Button1, movemouse, {0} }, { ClkClientWin, SUPERKEY, Button1, movemouse, {0} },
{ ClkClientWin, ALTKEY, Button2, togglefloating, {0} }, { ClkClientWin, SUPERKEY, Button2, togglefloating, {0} },
{ ClkClientWin, ALTKEY, Button3, resizemouse, {0} }, { ClkClientWin, SUPERKEY, Button3, resizemouse, {0} },
{ ClkTagBar, 0, Button1, view, {0} }, { ClkTagBar, 0, Button1, view, {0} },
{ ClkTagBar, 0, Button3, toggleview, {0} }, { ClkTagBar, 0, Button3, toggleview, {0} },
{ ClkTagBar, SUPERKEY, Button1, tag, {0} }, { ClkTagBar, SUPERKEY, Button1, tag, {0} },

BIN
drw.o

Binary file not shown.

BIN
dwm

Binary file not shown.

BIN
dwm.o

Binary file not shown.

BIN
util.o

Binary file not shown.