aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorMitchell Riedstra <mitch@riedstra.dev>2022-12-27 23:12:30 -0500
committerMitchell Riedstra <mitch@riedstra.dev>2022-12-27 23:12:30 -0500
commitf2d52d23f74c065f288d9d4b399404fe50f38fc3 (patch)
treebf8b1d23872b745544db0cea28a63169367d50d6 /config.h
parent7cde3ec842070c0cabd0e796789856ed745483fa (diff)
downloaddwm-f2d52d23f74c065f288d9d4b399404fe50f38fc3.tar.gz
dwm-f2d52d23f74c065f288d9d4b399404fe50f38fc3.tar.xz
Move the layouts. Add a function for a new custom layout and change a few config options
Diffstat (limited to 'config.h')
-rw-r--r--config.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/config.h b/config.h
index fc2fdb9..abeeaee 100644
--- a/config.h
+++ b/config.h
@@ -47,6 +47,8 @@ static const Rule rules[] = {
{ "Google-chrome", NULL, NULL, 1<<8, 0, -1 },
{ "Chromium", NULL, NULL, 1<<8, 0, -1 },
{ "Firefox", NULL, NULL, 1<<8, 0, -1 },
+ { "firefox", NULL, NULL, 1<<8, 0, -1 },
+ { "code-oss", NULL, NULL, 1<<1, 0, -1 },
};
/* layout(s) */
@@ -66,6 +68,7 @@ static const Layout layouts[] = {
{ "HHH", grid },
{ "[@]", spiral },
{ "[\\]", dwindle },
+ { "C", layoutCenter },
};
/* key definitions */
@@ -88,15 +91,15 @@ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn()
static const char *dmenucmd[] = { "dmenu_run", DMENU_FLAGS, NULL };
static const char *ddmenucmd[] = { "ddmenu", DMENU_FLAGS, NULL };
// static const char *termcmd[] = { "st", NULL };
-static const char *termcmd[] = { "konsole", NULL };
+static const char *termcmd[] = { "xfce4-terminal", NULL };
static const char *termcmdLarge[] = { "st", "-f", PROFONT_LARGE, NULL };
static const char *termcmdYuge[] = { "st", "-f", TERMINUS_YUGE, NULL };
static const char *passcmd[] = { "dpw-menu", DMENU_FLAGS, NULL };
static const char *passcmd_type[] = { "dpw-menu", "--type", DMENU_FLAGS, NULL };
static const char *passcmd_otp_type[] = { "dpw-menu", "--type", "--otp", DMENU_FLAGS, NULL };
static const char *snip_cmd[] = { "snipmenu", DMENU_FLAGS, NULL };
-static const char *screenshot_cmd[] = { "scrot", "-s", "/tmp/screenshot.png", NULL };
-static const char *file_cmd[] = { "dolphin", NULL };
+static const char *screenshot_cmd[] = { "xfce4-screenshooter", NULL };
+static const char *file_cmd[] = { "thunar", NULL };
// static const char *file_cmd[] = { "thunar", NULL };
static const char *slock_cmd[] = { "slock", NULL };
static const char *volup_cmd[] = { "vol", "up", NULL };
@@ -139,6 +142,7 @@ static Key keys[] = {
{ MODKEY, XK_g, setlayout, {.v = &layouts[5]} },
{ MODKEY, XK_v, setlayout, {.v = &layouts[6]} },
{ MODKEY|ShiftMask, XK_v, setlayout, {.v = &layouts[7]} },
+ { MODKEY|Mod1Mask, XK_v, setlayout, {.v = &layouts[8]} },
{ MODKEY, XK_space, setlayout, {0} },
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ MODKEY, XK_0, view, {.ui = ~0 } },