From b2604d36d15db7b6f17ea955e37da32eeff2035f Mon Sep 17 00:00:00 2001 From: Luca Bilke Date: Mon, 29 Jan 2024 23:09:10 +0100 Subject: [PATCH] remove unnecessary flags, update todo --- config.h | 6 +++--- todo | 3 +++ 2 files changed, 6 insertions(+), 3 deletions(-) create mode 100644 todo diff --git a/config.h b/config.h index 11815ab..7b18b8b 100644 --- a/config.h +++ b/config.h @@ -109,8 +109,8 @@ static const Layout layouts[] = { /* commands */ static const char *spqalc[] = { "q", "qalculate-gtk", NULL }; -static const char *spterm[] = { "t", TERMINAL, "-n", "spterm", "-d", "~", "tmux", NULL }; -static const char *splf[] = { "l", TERMINAL, "-n", "splf", "-d", "~", "-e", "lf-sixel", NULL }; +static const char *spterm[] = { "t", TERMINAL, "-n", "spterm", "tmux", NULL }; +static const char *splf[] = { "l", TERMINAL, "-n", "splf", "-e", "lf-sixel", NULL }; static const char *sphtop[] = { "h", TERMINAL, "-n", "sphtop", "-e", "htop", NULL }; static const char *spmix[] = { "m", TERMINAL, "-n", "spmix", "-e", "pulsemixer", NULL }; static const char *sphelp[] = { "n", TERMINAL, "-n", "sphelp", "-e", "/bin/sh", "-c", "mdcat /usr/share/dwm/dwm.md | less", NULL }; @@ -202,7 +202,7 @@ static const Key keys[] = { { MODKEY | ShiftMask, XK_minus, setlayout, {.v = &layouts[5]} }, { MODKEY, XK_backslash, togglescratch, {.v = spqalc} }, // { MODKEY | ShiftMask, XK_backslash, spawn, {.v = (const char *[]){NULL}} }, - { MODKEY, XK_Return, spawn, {.v = (const char *[]){TERMINAL, "-d", "~", "tmux", NULL}} }, + { MODKEY, XK_Return, spawn, {.v = (const char *[]){TERMINAL, "tmux", NULL}} }, { MODKEY | ShiftMask, XK_Return, togglescratch, {.v = spterm} }, { MODKEY | Mod3Mask, XK_Return, spawn, {.v = (const char *[]){"sd", NULL}} }, // { MODKEY, XK_semicolon, spawn, {.v = (const char *[]){NULL}} }, diff --git a/todo b/todo new file mode 100644 index 0000000..99c9477 --- /dev/null +++ b/todo @@ -0,0 +1,3 @@ +# TODO: consider adding the compiler flags of -O3 and -march=native to enable auto loop vectorize for better performance. +# TODO: Picom rule: shadow-exclude = [ "! _IS_FLOATING@:32c = 1" ]; +# TODO: Rewrite sb-scripts with pango markup