aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikita Langer <nikitalanger@icloud.com>2026-07-12 23:30:42 +0200
committerNikita Langer <nikitalanger@icloud.com>2026-07-12 23:30:42 +0200
commit6c258f9ab388e0ce3f77e655a8dbc2bba22e17fb (patch)
treefe9fb51fdcb8b63035b057711d7388460c20d36b
parent462dc01667be469d247286618b180dfb7df9f7cb (diff)
downloaddwm-6c258f9ab388e0ce3f77e655a8dbc2bba22e17fb.tar.gz
dwm-6c258f9ab388e0ce3f77e655a8dbc2bba22e17fb.tar.bz2
dwm-6c258f9ab388e0ce3f77e655a8dbc2bba22e17fb.tar.xz
dwm-6c258f9ab388e0ce3f77e655a8dbc2bba22e17fb.zip
eigenes theme
-rw-r--r--config.def.h23
-rw-r--r--config.def.h.rej45
-rwxr-xr-xstartdwm.sh13
3 files changed, 75 insertions, 6 deletions
diff --git a/config.def.h b/config.def.h
index 2ee8957..9ae0ca2 100644
--- a/config.def.h
+++ b/config.def.h
@@ -46,12 +46,23 @@ static const char col_cyan[] = "#005577";
// [SchemeSel] = { col_gray4, col_cyan, col_red },
// };
+laptop (
static char normbgcolor[] = "#222222";
static char normbordercolor[] = "#444444";
static char normfgcolor[] = "#bbbbbb";
static char selfgcolor[] = "#eeeeee";
static char selbordercolor[] = "#b20701";
static char selbgcolor[] = "#005577";
+)
+komputer (
+static char normbgcolor[] = "#0c0e1b";
+static char normbordercolor[] = "#0c0e1b";
+static char normfgcolor[] = "#b0b1e0";
+static char selfgcolor[] = "#0c0e1b";
+static char selbordercolor[] = "#d60047";
+static char selbgcolor[] = "#b0b1e0";
+
+)
static char *colors[][3] = {
/* fg bg border */
laptop([SchemeNorm] = { normfgcolor, normbgcolor, normbordercolor },)
@@ -120,11 +131,11 @@ static const char *dimmer[] = { "brightnessctl", "set", "5%-", NULL };
komputer(
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", selbgcolor, "-sf", col_gray4, NULL };
static const char *screencmd[] = { "xrandr", "--output", "DisplayPort-0", "--mode", "2560x1440", "-r", "240", NULL };
-static const char *altscreen[] = { "xrandr", "--output", "DisplayPort-0", "--mode", "2560x1440", "-r", "260", NULL };
+// static const char *altscreen[] = { "xrandr", "--output", "DisplayPort-0", "--mode", "2560x1440", "-r", "260", NULL };
static const char *dolphin[] = { "/usr/local/bin/dolphinfix.sh", NULL };
static const char *filebrowser[]= { "dolphin" ,NULL };
static const char *browsercmd[] = { "firefox", NULL };
-static const char *wallcmd[] = { "/bin/bash", "-c", "feh --bg-fill \"$(find /home/nikita/Walls/normal -type f ! -name \"$(basename \"$CURRENT_WALL\")\" | shuf -n 1)\"", NULL };
+static const char *wallcmd[] = { "/bin/bash", "-c", "feh --bg-fill \"$(find /home/nikita/Walls/normal -type f ! -name \"$(basename \"$CURRENT_WALL\")\" | shuf -n 1)\"", NULL };
static const char *brighter[] = { "/usr/local/bin/dwm-scripts/bright.sh", "5", NULL };
static const char *dimmer[] = { "/usr/local/bin/dwm-scripts/bright.sh", "-5", NULL };
)
@@ -142,6 +153,9 @@ static const char *nexttrack[] = { "playerctl", "next", NULL };
static const char *prevtrack[] = { "playerctl", "previous", NULL };
static const char *stoptrack[] = { "playerctl", "stop", NULL };
static const char *mutemic[] = { "pactl", "set-source-mute", "@DEFAULT_SOURCE@", "toggle", NULL };
+static const char *xsettingsd[] = { "xsettingsd", "&&", "pkill", "xsettingsd", "&&", "xsettingsd", NULL };
+static const char *resxrdb[] = { "xrdb", "-remove", NULL };
+static const char *pavu[] = { "pavucontrol", NULL };
#include "movestack.c"
@@ -149,11 +163,12 @@ static const Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_d, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_d, spawn, {.v = menualt } },
+ { MODKEY|ShiftMask, XK_x, spawn, {.v = xsettingsd } },
komputer (
{ MODKEY, XK_w, spawn, {.v = wallcmd } },
{ MODKEY, XK_e, spawn, {.v = filebrowser } },
{ MODKEY|ShiftMask, XK_e, spawn, {.v = dolphin } },
- { MODKEY|ShiftMask, XK_n, spawn, {.v = altscreen } },
+ // { MODKEY|ShiftMask, XK_n, spawn, {.v = altscreen } },
) laptop(
{ MODKEY, XK_e, spawn, {.v = thunar } },
)
@@ -167,7 +182,9 @@ static const Key keys[] = {
{ MODKEY|Mod1Mask, XK_l, spawn, {.v = lockcmd } },
{ MODKEY|Mod1Mask, XK_s, spawn, {.v = screensht } },
{ MODKEY|ShiftMask, XK_s, spawn, {.v = scripts } },
+ { MODKEY|ShiftMask, XK_p, spawn, {.v = pavu } },
{ MODKEY, XK_n, spawn, {.v = screencmd } },
+ { MODKEY, XK_c, spawn, {.v = resxrdb } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
diff --git a/config.def.h.rej b/config.def.h.rej
new file mode 100644
index 0000000..763fdc5
--- /dev/null
+++ b/config.def.h.rej
@@ -0,0 +1,45 @@
+--- config.def.h
++++ config.def.h
+@@ -7,15 +7,16 @@ 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 *colors[][3] = {
+- /* fg bg border */
+- [SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
+- [SchemeSel] = { col_gray4, col_cyan, col_cyan },
++static char normbgcolor[] = "#222222";
++static char normbordercolor[] = "#444444";
++static char normfgcolor[] = "#bbbbbb";
++static char selfgcolor[] = "#eeeeee";
++static char selbordercolor[] = "#005577";
++static char selbgcolor[] = "#005577";
++static char *colors[][3] = {
++ /* fg bg border */
++ [SchemeNorm] = { normfgcolor, normbgcolor, normbordercolor },
++ [SchemeSel] = { selfgcolor, selbgcolor, selbordercolor },
+ };
+
+ /* tagging */
+@@ -56,7 +57,7 @@ static const Layout layouts[] = {
+ #define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
+
+ /* commands */
+-static const char *dmenucmd[] = { "dmenu_run", "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
++static const char *dmenucmd[] = { "dmenu_run", "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL };
+ static const char *termcmd[] = { "st", NULL };
+
+ static const Key keys[] = {
+@@ -84,6 +85,7 @@ 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_F5, xrdb, {.v = NULL } },
+ TAGKEYS( XK_1, 0)
+ TAGKEYS( XK_2, 1)
+ TAGKEYS( XK_3, 2)
diff --git a/startdwm.sh b/startdwm.sh
index 9aef7b3..0f3e450 100755
--- a/startdwm.sh
+++ b/startdwm.sh
@@ -1,23 +1,30 @@
#!/bin/sh
-feh --bg-fill /usr/share/backgrounds/meine/wallhaven-9odykk.jpg &
+# feh --bg-fill /usr/share/backgrounds/meine/wallhaven-9odykk.jpg &
+# feh --bg-fill /usr/share/backgrounds/meine/wallhaven-vpo6gp.jpg &
+feh --bg-fill /usr/share/backgrounds/meine/wallhaven-5ylg78.png &
# feh --bg-scale ~/Walls/wallhaven-jexkwm.jpg &
exec slstatus &
kdeconnectd &
+ XDG_MENU_PREFIX=arch- kbuildsycoca6 --noincremental
export QT_QPA_PLATFORMTHEME=qt6ct
xscreensaver &
picom &
-# xrandr --output DP-1 --mode 2560x1440 -r 240
+xrandr --output DisplayPort-0 --mode 2560x1440 -r 240
-xrandr --output DisplayPort-0 --mode 2560x1440 -r 240 &
+# xrandr --output DisplayPort-0 --mode 2560x1440 -r 260 &
dunst &
+xrdb -remove
+
+sh -c "sleep 5 && xsettingsd && pkill xsettingsd && xsettingsd" &
+
dwm
# while true; do