From 2bcafe14c9f3ee6b5754153565e02235058b368f Mon Sep 17 00:00:00 2001 From: speediegq Date: Wed, 12 Oct 2022 22:40:21 +0200 Subject: [PATCH] fix --- TODO | 3 ++- fsignal.h | 4 ++++ toggle.h | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index c4ca34b..e3d9cbd 100644 --- a/TODO +++ b/TODO @@ -1,3 +1,4 @@ speedwm 0.7 to-do list - Escape special characters in status bar (such as &) -- Add awesomebar (show all windows in taskbar) toggle (int hideothertitle?) Check musl, NixOS and BSD support +- Add awesomebar (show all windows in taskbar) toggle (int hideothertitle?) +- Check musl, NixOS and BSD support diff --git a/fsignal.h b/fsignal.h index 6955754..5c526fe 100644 --- a/fsignal.h +++ b/fsignal.h @@ -5,7 +5,9 @@ * Once you're done with your edits, run 'make clean install'. */ static Signal signals[] = { /* signum function argument */ +#if LAYOUT_CUSTOM { 15, set_s_layout, {.v = &layouts[13]} }, +#endif { 16, cyclelayout, {.i = +1 } }, { 17, cyclelayout, {.i = -1 } }, { 18, setmfact, {.f = +0.05} }, @@ -51,7 +53,9 @@ static Signal signals[] = { { 58, scratchpad_remove, {0} }, { 59, reset_layout, {0} }, { 60, resetnmaster, {0} }, +#if USESYSTRAY { 61, togglesystray, {0} }, +#endif { 62, hideall, {0} }, { 63, showall, {0} }, { 64, reset_mfact, {0} }, diff --git a/toggle.h b/toggle.h index 081297b..a3415b4 100644 --- a/toggle.h +++ b/toggle.h @@ -52,4 +52,4 @@ Not compatible with BSDs so for those, set this to 0. */ #define LAYOUT_CM 1 /* Whether or not to include the centered master layout */ #define LAYOUT_CFM 1 /* Whether or not to include the centered floating master layout */ #define LAYOUT_COL 1 /* Whether or not to include the column layout */ -#define LAYOUT_CUSTOM 1 /* Whether or not to include the empty layout */ +#define LAYOUT_CUSTOM 1 /* Whether or not to include the custom layout */