Add commands

This commit is contained in:
Dita Aji Pratama 2024-12-22 18:48:57 +07:00
parent 340076c5df
commit eff2972e8d

View File

@ -70,9 +70,38 @@ static const Layout layouts[] = {
/* commands */
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
static const char *termcmd[] = { "st", NULL };
static const char *dmenucmd[] = { "dmenu_run",
"-m", dmenumon,
"-fn", dmenufont,
"-nb", col_gray1,
"-nf", col_gray3,
"-sb", col_cyan,
"-sf", col_gray4, NULL };
static const char *roficmd[] = { "rofi",
"-modi", "drun,power:~/.config/rofi/power-menu",
"-show", "drun",
"-show-icons",
"-theme", "Arc-Dark.rasi",
"-columns", "2",
"-lines", "10",
"-window-thumbnail",
"-font", "\"Open Sans 18\"",
"-opacity",
"-width", "80",
"-sidebar-mode", NULL };
static const char *termcmd[] = { "kitty" , NULL };
static const char *filecmd[] = { "thunar" , NULL };
static const char *sca[] = { "scrot" , NULL };
static const char *scr[] = { "scrot" , "-s" , NULL };
static const char *nmtui[] = { "kitty" , "nmtui" , NULL };
static const char *nmcedit[] = { "nm-connection-editor" , NULL };
static const char *top[] = { "kitty" , "htop" , NULL };
static const Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },