Compare commits

...

2 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
12 changed files with 76 additions and 2297 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
View 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"
}
]

View File

@ -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[] = "#121212"; 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[] = "#121212"; 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 */
@ -73,9 +71,9 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *termcmd[] = { "st", NULL }; static const char *termcmd[] = { "st", NULL };
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL }; static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
static const char *upvol[] = { "wpctl", "set-volume", "@DEFAULT_AUDIO_SINK@", "5%+", NULL }; static const char *upvol[] = { "pactl", "set-sink-volume", "@DEFAULT_SINK@", "+5%", NULL };
static const char *downvol[] = { "wpctl", "set-volume", "@DEFAULT_AUDIO_SINK@", "5%-", NULL }; static const char *downvol[] = { "pactl", "set-sink-volume", "@DEFAULT_SINK@", "-5%", NULL };
static const char *mutevol[] = { "wpctl", "set-mute", "@DEFAULT_AUDIO_SINK@", "toggle", NULL }; static const char *mutevol[] = { "pactl", "set-sink-mute", "@DEFAULT_SINK@", "toggle", NULL };
static const Key keys[] = { static const Key keys[] = {
/* modifier key function argument */ /* modifier key function argument */

View File

@ -4,7 +4,7 @@ VERSION = 6.5
# Customize below to fit your system # Customize below to fit your system
# paths # paths
PREFIX = /usr PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man MANPREFIX = ${PREFIX}/share/man
X11INC = ${PREFIX}/include X11INC = ${PREFIX}/include

2273
dwm.c.orig

File diff suppressed because it is too large Load Diff

View File

@ -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);