From 7fe14ce64d33d46d78a723e3d0f081468c65ce88 Mon Sep 17 00:00:00 2001 From: Ronald Date: Thu, 1 Feb 2024 22:18:16 +0000 Subject: [PATCH] Moved to alacritty terminal --- config.h | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/config.h b/config.h index 21a50d5..0c7cada 100644 --- a/config.h +++ b/config.h @@ -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 } },