Added numlockx to startup to enable numlock at startup

This commit is contained in:
ganome 2025-04-04 14:09:59 -06:00
parent a6320082ef
commit a00642fb3c
Signed by untrusted user who does not match committer: Ganome
GPG Key ID: 944DE53336D81B83

View File

@ -109,6 +109,7 @@ static const char *const autostart[] = {
"sh", "/home/ganome/.local/bin/wallsetter.dwm", NULL, "sh", "/home/ganome/.local/bin/wallsetter.dwm", NULL,
"parcellite", NULL, "parcellite", NULL,
"picom", "-b", NULL, "picom", "-b", NULL,
"numlockx", "on", NULL,
NULL /* terminate */ NULL /* terminate */
}; };
@ -178,7 +179,7 @@ static const Rule rules[] = {
RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1) RULE(.wintype = WTYPE "TOOLBAR", .isfloating = 1)
RULE(.wintype = WTYPE "SPLASH", .isfloating = 1) RULE(.wintype = WTYPE "SPLASH", .isfloating = 1)
RULE(.class = "Gimp", .tags = 1 << 3) RULE(.class = "Gimp", .tags = 1 << 3)
RULE(.class = "Vivaldi-stable", .tags = 1 << 2) RULE(.class = "LibreWolf", .tags = 1 << 2)
RULE(.class = "Nemo", .tags = 1 << 6) RULE(.class = "Nemo", .tags = 1 << 6)
RULE(.class = "quassel", .tags = 1 << 8) RULE(.class = "quassel", .tags = 1 << 8)
RULE(.class = "vesktop", .tags = 1 << 3, .monitor = 1) RULE(.class = "vesktop", .tags = 1 << 3, .monitor = 1)
@ -251,6 +252,7 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn()
static const char *termcmd[] = { "ghostty", NULL }; static const char *termcmd[] = { "ghostty", NULL };
static const char *term2cmd[] = { "kitty", NULL }; static const char *term2cmd[] = { "kitty", NULL };
static const char *wallpapercmd[]= { "/home/ganome/.local/bin/wallsetter.dwm", NULL }; static const char *wallpapercmd[]= { "/home/ganome/.local/bin/wallsetter.dwm", NULL };
static const char *browsercmd[]= { "librewolf", NULL };
static const char *roficmd[] = { static const char *roficmd[] = {
"rofi", "rofi",
@ -267,6 +269,7 @@ static const Key keys[] = {
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = term2cmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = term2cmd } },
{ MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_b, togglebar, {0} },
{ MODKEY|ShiftMask, XK_d, spawn, CMD("vesktop-bin")}, { MODKEY|ShiftMask, XK_d, spawn, CMD("vesktop-bin")},
{ MODKEY|ShiftMask, XK_w, spawn, {.v = browsercmd } },
{ MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_i, incnmaster, {.i = +1 } }, { MODKEY, XK_i, incnmaster, {.i = +1 } },