This commit is contained in:
Sojus07
2025-05-09 23:43:56 +02:00
parent dc97dc5302
commit 799d732720
4 changed files with 10 additions and 2297 deletions

View File

@ -10,28 +10,25 @@ static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "Terminus:size=10" };
static const char dmenufont[] = "Terminus:size=10";
/* Farben aus Alacritty übernommen */
static const char col_gray1[] = "#121212";
static const char col_gray2[] = "#ffffff";
static const char col_gray1[] = "#262626";
static const char col_gray2[] = "#a89984";
static const char col_gray3[] = "#dde1e6";
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] = {
/* fg bg border */
[SchemeNorm] = { col_gray3, col_gray1, col_gray1 }, /* Normale Fenster */
[SchemeSel] = { col_gray4, col_cyan, col_gray2 }, /* Ausgewähltes Fenster */
[SchemeNorm] = { col_gray3, col_gray1, col_gray1 },
/* 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 Rule rules[] = {
{ "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 int nmaster = 1; /* number of clients in master area */
static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */
@ -73,9 +70,9 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
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 *upvol[] = { "wpctl", "set-volume", "@DEFAULT_AUDIO_SINK@", "5%+", NULL };
static const char *downvol[] = { "wpctl", "set-volume", "@DEFAULT_AUDIO_SINK@", "5%-", NULL };
static const char *mutevol[] = { "wpctl", "set-mute", "@DEFAULT_AUDIO_SINK@", "toggle", NULL };
static const char *upvol[] = { "pactl", "set-sink-volume", "@DEFAULT_SINK@", "+5%", NULL };
static const char *downvol[] = { "pactl", "set-sink-volume", "@DEFAULT_SINK@", "-5%", NULL };
static const char *mutevol[] = { "pactl", "set-sink-mute", "@DEFAULT_SINK@", "toggle", NULL };
static const Key keys[] = {
/* modifier key function argument */

View File

@ -4,7 +4,7 @@ VERSION = 6.5
# Customize below to fit your system
# paths
PREFIX = /usr
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
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);