Compare commits

..

4 Commits

Author SHA1 Message Date
Sojus07
d197ac2160 kekl 2025-05-19 21:21:45 +02:00
Sojus07
799d732720 kekl 2025-05-09 23:43:56 +02:00
Sojus07
dc97dc5302 PogChamp 2025-02-11 00:01:30 +01:00
Sojus07
f5eb5cac83 poggers 2025-02-10 22:50:06 +01:00
11 changed files with 72 additions and 2293 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

65
compile_commands.json Normal file

@ -0,0 +1,65 @@
[
{
"arguments": [
"/usr/bin/cc",
"-c",
"-std=c99",
"-pedantic",
"-Wall",
"-Wno-deprecated-declarations",
"-Os",
"-I/usr/local/include",
"-I/usr/local/include/freetype2",
"-D_DEFAULT_SOURCE",
"-D_BSD_SOURCE",
"-D_XOPEN_SOURCE=700L",
"-DVERSION=\"6.5\"",
"-DXINERAMA",
"drw.c"
],
"directory": "/opt/suckless/dwm",
"file": "/opt/suckless/dwm/drw.c"
},
{
"arguments": [
"/usr/bin/cc",
"-c",
"-std=c99",
"-pedantic",
"-Wall",
"-Wno-deprecated-declarations",
"-Os",
"-I/usr/local/include",
"-I/usr/local/include/freetype2",
"-D_DEFAULT_SOURCE",
"-D_BSD_SOURCE",
"-D_XOPEN_SOURCE=700L",
"-DVERSION=\"6.5\"",
"-DXINERAMA",
"dwm.c"
],
"directory": "/opt/suckless/dwm",
"file": "/opt/suckless/dwm/dwm.c"
},
{
"arguments": [
"/usr/bin/cc",
"-c",
"-std=c99",
"-pedantic",
"-Wall",
"-Wno-deprecated-declarations",
"-Os",
"-I/usr/local/include",
"-I/usr/local/include/freetype2",
"-D_DEFAULT_SOURCE",
"-D_BSD_SOURCE",
"-D_XOPEN_SOURCE=700L",
"-DVERSION=\"6.5\"",
"-DXINERAMA",
"util.c"
],
"directory": "/opt/suckless/dwm",
"file": "/opt/suckless/dwm/util.c"
}
]

@ -10,28 +10,26 @@ static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "Terminus:size=10" }; static const char *fonts[] = { "Terminus:size=10" };
static const char dmenufont[] = "Terminus:size=10"; static const char dmenufont[] = "Terminus:size=10";
/* Farben aus Alacritty übernommen */ static const char col_gray1[] = "#262626";
static const char col_gray1[] = "#161616"; static const char col_gray2[] = "#a89984";
static const char col_gray2[] = "#ffffff";
static const char col_gray3[] = "#dde1e6"; static const char col_gray3[] = "#dde1e6";
static const char col_gray4[] = "#ffffff"; static const char col_gray4[] = "#ffffff";
static const char col_cyan[] = "#161616"; static const char col_cyan[] = "#262626";
/* Farbschema für die Fenster und die Leiste */
static const char *colors[][3] = { static const char *colors[][3] = {
/* fg bg border */ /* fg bg border */
[SchemeNorm] = { col_gray3, col_gray1, col_gray1 }, /* Normale Fenster */ [SchemeNorm] = { col_gray3, col_gray1, col_gray1 },
[SchemeSel] = { col_gray4, col_cyan, col_gray2 }, /* Ausgewähltes Fenster */ /* layout(s) */
[SchemeSel] = { col_gray4, col_cyan, col_gray2 },
}; };
/* tagging */
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
static const Rule rules[] = { static const Rule rules[] = {
{ "Gimp", NULL, NULL, 0, 1, -1 }, { "Gimp", NULL, NULL, 0, 1, -1 },
}; };
/* layout(s) */
static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */ static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
static const int nmaster = 1; /* number of clients in master area */ static const int nmaster = 1; /* number of clients in master area */
static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */ static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */

2273
dwm.c.orig

File diff suppressed because it is too large Load Diff

@ -1,11 +0,0 @@
--- dwm.c
+++ dwm.c
@@ -165,6 +165,8 @@ static void detachstack(Client *c);
static Monitor *dirtomon(int dir);
static void drawbar(Monitor *m);
static void drawbars(void);
+static void enqueue(Client *c);
+static void enqueuestack(Client *c);
static void enternotify(XEvent *e);
static void expose(XEvent *e);
static void focus(Client *c);