|
|
|
|
@ -27,6 +27,7 @@ static const Rule rules[] = {
|
|
|
|
|
{ "Nextcloud", NULL, NULL, 1 << 8, 1, -1 },
|
|
|
|
|
{ "st", "floating", NULL, 0, 1, -1 },
|
|
|
|
|
{ "Qemu-system-i386", NULL, NULL, 1 << 1, 0, -1 },
|
|
|
|
|
{ "alacritty_floating", NULL, NULL, 0, 1, -1 },
|
|
|
|
|
{ "odin-term", NULL, NULL, 1 << 1, 1, -1 },
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
@ -56,8 +57,9 @@ static const Layout layouts[] = {
|
|
|
|
|
/* commands */
|
|
|
|
|
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
|
|
|
|
static const char *dmenucmd[] = { "dmenu_run", NULL };
|
|
|
|
|
|
|
|
|
|
static const char *termcmd[] = { "alacritty", NULL };
|
|
|
|
|
static const char *ftermcmd[] = { "st", "-n", "floating", NULL };
|
|
|
|
|
static const char *ftermcmd[] = { "alacritty", "--class", "alacritty_floating", NULL };
|
|
|
|
|
|
|
|
|
|
static const char *webcmd[] = { "firefox", NULL };
|
|
|
|
|
static const char *privwebcmd[] = { "firefox", "--private-window", NULL };
|
|
|
|
|
@ -65,18 +67,17 @@ static const char *webcmd2[] = { "chromium", NULL };
|
|
|
|
|
static const char *privwebcmd2[] = { "chromium", "--incognito", NULL };
|
|
|
|
|
static const char *xcmd[] = { "pkill", "x", NULL };
|
|
|
|
|
static const char *mutecmd[] = { "pulsemixer", "--toggle-mute", NULL };
|
|
|
|
|
static const char *volcmd[] = { "st", "-e", "pulsemixer", NULL };
|
|
|
|
|
static const char *volcmd[] = { "alacritty", "--command", "pulsemixer", NULL };
|
|
|
|
|
static const char *lockcmd[] = { "slock", NULL };
|
|
|
|
|
static const char *filecmd[] = { "st", "-e", "nnn", "-Rd", NULL };
|
|
|
|
|
static const char *ffilecmd[] = { "st", "-n", "floating", "-e", "nnn" "-Rd", NULL };
|
|
|
|
|
static const char *musiccmd[] = { "st", "-e", "musikcube", NULL };
|
|
|
|
|
static const char *filecmd[] = { "alacritty", "--command", "nnn", "-Rd", NULL };
|
|
|
|
|
static const char *ffilecmd[] = { "alacritty", "--class", "alacritty_floating", "--command", "nnn", "-Rd", NULL };
|
|
|
|
|
static const char *musiccmd[] = { "alacritty", "--command", "musikcube", NULL };
|
|
|
|
|
static const char *ssacmd[] = { "ssall", NULL };
|
|
|
|
|
static const char *ssscmd[] = { "ssselection", NULL };
|
|
|
|
|
static const char *passcmd[] = { "keepassxc", NULL };
|
|
|
|
|
static const char *vncviewercmd[] = { "vncviewer", NULL };
|
|
|
|
|
static const char *clipmenucmd[] = { "clipmenu", NULL };
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static Key keys[] = {
|
|
|
|
|
/* modifier key function argument */
|
|
|
|
|
{ MODKEY, XK_d, spawn, {.v = dmenucmd } },
|
|
|
|
|
|