summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
author0undefined <oscar@nelin.dk>2025-10-17 15:42:50 +0000
committer0undefined <oscar@nelin.dk>2025-10-17 15:42:50 +0000
commit964b3f9ce49bb5d5de229ecb29d970b6bb2155a7 (patch)
tree39895b1184c2b75409eefb7fa37f016d3ba4124d /config.def.h
parent5ec973978566145b68dac5b9f4b88c20d3265247 (diff)
Laptop configuration
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h
index 5be8356..d366ac8 100644
--- a/config.def.h
+++ b/config.def.h
@@ -46,7 +46,7 @@ static int log_level = WLR_ERROR;
/* Autostart */
static const char *const autostart[] = {
- "swaybg", "-m", "stretch", "-i", "pictures/bg/nature_blue.png", NULL,
+ "swaybg", "-m", "fill", "-i", "pictures/bg/default.png", NULL,
"mako", NULL,
NULL /* terminate */
};
@@ -59,6 +59,7 @@ static const Rule rules[] = {
/* examples: */
{ "Gimp", NULL, TAG(9), 0, 1, 0, 0, -1, 0 }, /* Start on currently visible tags floating, not tiled */
{ "firefox", NULL, TAG(2), 0, 0, 0, 0, -1, 0 }, /* Start on ONLY tag "9" */
+ { NULL, "rogue", 0, 1, 0, 0, 0, -1, 0 }, /* Start on ONLY tag "9" */
{ TERMINAL, NULL, 0, 0, 0, 1, 1, -1, 0 }, /* Start on ONLY tag "9" */
{ NULL, "scratchpad", 0, 1, 1, 1, 1, -1, 's' }, /* Used for terminal scratchpad */
{ NULL, "spadcalc", 0, 1, 1, 1, 0, -1, 'c' }, /* Used for terminal scratchpad */
@@ -85,7 +86,7 @@ static const MonitorRule monrules[] = {
{ "eDP-1", 0.5f, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 },
*/
/* defaults */
- { NULL, 0.55f, 1, 1, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 },
+ { NULL, 0.55f, 1, 2, &layouts[0], WL_OUTPUT_TRANSFORM_NORMAL, -1, -1 },
};
/* keyboard */
@@ -153,7 +154,7 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA
{ MODKEY|WLR_MODIFIER_CTRL|WLR_MODIFIER_SHIFT,SKEY,toggletag, {.ui = 1 << TAG} }
/* helper for spawning shell commands in the pre dwm-5.0 fashion */
-#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
+#define SHCMD(cmd) { .v = (const char*[]){ "/bin/zsh", "-f", "-c", cmd, NULL } }
/* commands */
static const char *browsercmd[] = {"firefox-developer-edition", NULL};
@@ -182,7 +183,7 @@ static const Key keys[] = {
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_V, movestack, {.i = 0} },
{ MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_B, movestack, {.i = INT_MAX} },
{ MODKEY, XKB_KEY_i, incnmaster, {.i = +1} },
- { MODKEY, XKB_KEY_d, incnmaster, {.i = -1} },
+ { MODKEY|WLR_MODIFIER_SHIFT, XKB_KEY_I, incnmaster, {.i = -1} },
{ MODKEY, XKB_KEY_h, setmfact, {.f = -0.05f} },
{ MODKEY, XKB_KEY_l, setmfact, {.f = +0.05f} },
{ MODKEY, XKB_KEY_Return, zoom, {0} },