diff --git a/config.h b/config.h index 7a4c57d..37d4437 100644 --- a/config.h +++ b/config.h @@ -65,7 +65,7 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ -static const char *dmenucmd[] = { "dmenu_run", "-c", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_purple, "-sf", col_black, NULL }; +static const char *dmenucmd[] = { "dmenu_run", "-c", "-g", "4", "-l", "15", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_purple, "-sf", col_black, NULL }; static const char *termcmd[] = { "/usr/local/bin/st", NULL }; static const char *browsecmd[] = { "/usr/bin/librewolf", "-p", "browsing", NULL }; static const char *acccmd[] = { "/usr/bin/librewolf", "-p", "accounts", NULL }; @@ -76,6 +76,7 @@ static const char *filebrowse[] = { "/usr/bin/thunar", NULL }; static const char *sharecmd[] = { "/usr/local/bin/st", "-c", "floating-term", "-g", "130x35", "-e", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/shr", NULL }; static const char *bmcmd[] = { "bash", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/bookmarks", NULL }; static const char *lockcmd[] = { "slock", NULL }; +static const char *powercmd[] = { "bash", "~/docs/sys/gits/scripts-dotfiles/scripts/system/power", NULL }; static const char *screenshotcmd[] = { "flameshot", "gui", NULL }; static const Key keys[] = { @@ -84,6 +85,7 @@ static const Key keys[] = { { MODKEY, XK_e, spawn, {.v = filebrowse } }, { MODKEY, XK_c, spawn, {.v = sharecmd } }, { MODKEY, XK_z, spawn, {.v = bmcmd } }, + { MODKEY, XK_Delete, spawn, {.v = powercmd } }, { MODKEY, XK_F9, spawn, {.v = volmute } }, { MODKEY, XK_F10, spawn, {.v = voldown } }, { MODKEY, XK_F11, spawn, {.v = volup } }, diff --git a/dwm b/dwm index 55b86fd..dc13049 100755 Binary files a/dwm and b/dwm differ diff --git a/dwm.o b/dwm.o index 53285f0..d29505a 100644 Binary files a/dwm.o and b/dwm.o differ