diff options
| author | auric <auric7@protonmail.com> | 2025-09-07 19:31:01 -0500 |
|---|---|---|
| committer | auric <auric7@protonmail.com> | 2025-09-07 19:31:01 -0500 |
| commit | 928fa0e6de290180bfa52eb33448ccdd44c116cc (patch) | |
| tree | c1effcfd63f6be9b81bc71c992e8084082f8b0a1 | |
| parent | 54b41bddc00449b446b0f9dbddb037954cd6a265 (diff) | |
Re-fix duplicated code which broke compilation of dwm
| -rwxr-xr-x | dmenu/dmenu | bin | 42688 -> 42736 bytes | |||
| -rw-r--r-- | dmenu/dmenu.o | bin | 33704 -> 33792 bytes | |||
| -rw-r--r-- | dwm/config.h | 33 | ||||
| -rwxr-xr-x | dwm/dwm | bin | 71408 -> 71448 bytes | |||
| -rw-r--r-- | dwm/dwm.c | 40 | ||||
| -rw-r--r-- | dwm/dwm.o | bin | 62104 -> 62184 bytes | |||
| -rwxr-xr-x | tools/exofetch | bin | 0 -> 28736 bytes |
7 files changed, 19 insertions, 54 deletions
diff --git a/dmenu/dmenu b/dmenu/dmenu Binary files differindex 27d9aed..e796824 100755 --- a/dmenu/dmenu +++ b/dmenu/dmenu diff --git a/dmenu/dmenu.o b/dmenu/dmenu.o Binary files differindex 025b008..e0d9407 100644 --- a/dmenu/dmenu.o +++ b/dmenu/dmenu.o diff --git a/dwm/config.h b/dwm/config.h index 0424ce8..c94f430 100644 --- a/dwm/config.h +++ b/dwm/config.h @@ -8,11 +8,14 @@ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ static const char *fonts[] = { "monospace:size=10" }; static const char dmenufont[] = "monospace:size=10"; -static const char col_gray1[] = "#222222"; -static const char col_gray2[] = "#444444"; -static const char col_gray3[] = "#bbbbbb"; -static const char col_gray4[] = "#eeeeee"; -static const char col_cyan[] = "#005577"; +static const char col_gray1[] = "#000000"; +static const char col_gray2[] = "#555555"; +static const char col_gray3[] = "#dddddd"; +static const char col_gray4[] = "#ffffff"; +static const char col_cyan[] = "#66ccff"; +#ifndef BAROPACITY +#define BAROPACITY 0.85 +#endif static const char *colors[][3] = { /* fg bg border */ [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, @@ -27,9 +30,9 @@ static const Rule rules[] = { * WM_CLASS(STRING) = instance, class * WM_NAME(STRING) = title */ - /* class instance title tags mask isfloating monitor */ - { "Gimp", NULL, NULL, 0, 1, -1 }, - { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, + /* class instance title tags mask isfloating monitor */ + { NULL, NULL, "Picture in picture", 0, 1, -1 }, + { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, }; /* layout(s) */ @@ -97,13 +100,13 @@ static const Key keys[] = { { MODKEY, XK_period, focusmon, {.i = +1 } }, { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, - { MODKEY, XK_minus, setgaps, {.i = -1 } }, - { MODKEY, XK_equal, setgaps, {.i = +1 } }, - { MODKEY|ShiftMask, XK_equal, setgaps, {.i = 0 } }, - { MODKEY, XK_KP_End, spawn, {.v = mediaprev } }, - { MODKEY, XK_KP_Down, spawn, {.v = mediaplaypause } }, - { MODKEY, XK_KP_Page_Down, spawn, {.v = medianext } }, - TAGKEYS( XK_1, 0) + { MODKEY, XK_minus, setgaps, {.i = -1 } }, + { MODKEY, XK_equal, setgaps, {.i = +1 } }, + { MODKEY|ShiftMask, XK_equal, setgaps, {.i = 0 } }, + { MODKEY, XK_KP_End, spawn, {.v = mediaprev } }, + { MODKEY, XK_KP_Down, spawn, {.v = mediaplaypause } }, + { MODKEY, XK_KP_Page_Down, spawn, {.v = medianext } }, + TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) TAGKEYS( XK_4, 3) Binary files differ@@ -48,6 +48,7 @@ #include "drw.h" #include "util.h" +#include "../accent.h" /* macros */ #define BUTTONMASK (ButtonPressMask|ButtonReleaseMask) @@ -287,45 +288,6 @@ static Window root, wmcheckwin; /* tag used for scratchpad clients */ static const unsigned int scratchtag = 1 << LENGTH(tags); -#define SHMNAME "/breathing_color_shm" -typedef struct { - uint32_t magic; - uint32_t version; - volatile uint32_t seq; - char color[8]; -} ColorShm; - -/* state for the shared accent color */ -static ColorShm *accentshm; -static char accentcol[8] = "#005577"; - -#ifndef BAROPACITY -#define BAROPACITY 1.0 -#endif - -/* tag used for scratchpad clients */ -static const unsigned int scratchtag = 1 << LENGTH(tags); - -#define SHMNAME "/breathing_color_shm" -typedef struct { - uint32_t magic; - uint32_t version; - volatile uint32_t seq; - char color[8]; -} ColorShm; - -/* state for the shared accent color */ -static ColorShm *accentshm; -static char accentcol[8] = "#005577"; - -#ifndef BAROPACITY -#define BAROPACITY 1.0 -#endif - -/* tag used for scratchpad clients */ -static const unsigned int scratchtag = 1 << LENGTH(tags); - -#include "../accent.h" /* state for the shared accent color */ static ColorShm *accentshm; Binary files differdiff --git a/tools/exofetch b/tools/exofetch Binary files differnew file mode 100755 index 0000000..425ffa4 --- /dev/null +++ b/tools/exofetch |
