summaryrefslogtreecommitdiff
path: root/config.def.h
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-04-15 16:35:36 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-04-15 16:35:36 +0200
commit893e4ab58fce2918480501f999313000b6de6249 (patch)
treebd3d588210ef2aa56434fbf94adfc6f333311b84 /config.def.h
parent91fe87974e8c0d02b230fb1218905920154f5af5 (diff)
downloadglitch-893e4ab58fce2918480501f999313000b6de6249.tar.gz
Add tiling and floating mode
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 67f78d0..a10d0f9 100644
--- a/config.def.h
+++ b/config.def.h
@@ -28,6 +28,10 @@ static const char *mic_active_bg_color = "firebrick";
static const char *mic_muted_bg_color = "#222222";
static const char *mic_active_fg_color = "white";
static const char *mic_muted_fg_color = "white";
+static const char *layout_tile_bg_color = "darkgreen";
+static const char *layout_float_bg_color = "#333333";
+static const char *layout_tile_fg_color = "white";
+static const char *layout_float_fg_color = "white";
static Shortcut shortcuts[] = {
/* Mask KeySym Shell command */
@@ -87,6 +91,7 @@ static Keybinds keybinds[] = {
{ MODKEY | ShiftMask, XK_r, reload, { 0 } },
{ MODKEY, XK_c, center_window, { 0 } },
{ MODKEY, XK_m, toggle_mic_mute, { 0 } },
+ { MODKEY, XK_space, toggle_layout, { 0 } },
{ MODKEY | ShiftMask, XK_q, quit, { 0 } },
{ MODKEY, XK_q, close_window, { 0 } },
};