static const unsigned int borderpx = 0; static const unsigned int gappx = 10; static const int showbar = 0; static const int topbar = 0; static const char *fonts[] = { "Cascadia Mono:style=Bold:size=10:antialias=true:autohint=true" }; static const char *colors[][3] = { [SchemeNorm] = { "#D3C6AA", "#272E33", "#83C092" }, [SchemeSel] = { "#374145", "#DBBC7F", "#A7C080" }, }; static const char *tags[] = { "1", "2", "3" }; static const Rule rules[] = { { "ghostty", NULL, NULL, 1, 0, -1 }, { "librewolf", NULL, NULL, 1 << 1, 0, -1 }, { "steam", NULL, NULL, 1 << 2, 0, -1 }, }; static const float mfact = 0.55; static const int nmaster = 1; static const int resizehints = 1; static const int lockfullscreen = 1; static const Layout layouts[] = { { "T", tile }, }; #define MODKEY Mod1Mask #define TAGKEYS(KEY,TAG) \ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \ { MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \ #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } } #include "X11/XF86keysym.h" static const Key keys[] = { { MODKEY, XK_q, killclient, {0} }, { MODKEY, XK_Return, spawn, SHCMD("ghostty -e tmux a") }, { MODKEY, XK_f, spawn, SHCMD("librewolf") }, { MODKEY|ShiftMask, XK_s, spawn, SHCMD("steam") }, { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pactl set-sink-volume @DEFAULT_SINK@ +5%") }, { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pactl set-sink-volume @DEFAULT_SINK@ -5%") }, TAGKEYS(XK_1, 0) TAGKEYS(XK_2, 1) TAGKEYS(XK_3, 2) };