summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhsn <mail@mhsn.net>2025-11-06 15:03:59 +0000
committermhsn <mail@mhsn.net>2025-12-30 11:38:37 +0000
commit6cbc1b85dd53119cbc9ed05def77a8304d07632f (patch)
treecd027899369b8a59c0468ec361f7a1ecc99904e6
parente4ed5c0d49807aa96425f1f4203ff040fb4d1647 (diff)
downloadadelie-6cbc1b85dd53119cbc9ed05def77a8304d07632f.tar.gz
adelie-6cbc1b85dd53119cbc9ed05def77a8304d07632f.zip
update dwm colors and some keys
-rw-r--r--x11-wm/dwm/files/51_colors.diff40
-rw-r--r--x11-wm/dwm/files/52_keys.diff7
2 files changed, 33 insertions, 14 deletions
diff --git a/x11-wm/dwm/files/51_colors.diff b/x11-wm/dwm/files/51_colors.diff
index 03b9612..c314804 100644
--- a/x11-wm/dwm/files/51_colors.diff
+++ b/x11-wm/dwm/files/51_colors.diff
@@ -1,8 +1,16 @@
-diff --git c/config.def.h i/config.def.h
-index 91d1e9e..5c2382f 100644
---- c/config.def.h
-+++ i/config.def.h
-@@ -8,15 +8,16 @@ static const int showbar = 1; /* 0 means no bar */
+diff --git i/config.def.h w/config.def.h
+index 5cd37f7..70463b5 100644
+--- i/config.def.h
++++ w/config.def.h
+@@ -1,22 +1,33 @@
+ /* See LICENSE file for copyright and license details. */
+
+ /* appearance */
+-static const unsigned int borderpx = 1; /* border pixel of windows */
++static const unsigned int borderpx = 2; /* border pixel of windows */
+ static const unsigned int snap = 32; /* snap pixel */
+ static const int swallowfloating = 0; /* 1 means swallow floating windows by default */
+ static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
static const char *fonts[] = { "monospace:size=20" };
static const char dmenufont[] = "monospace:size=20";
@@ -12,17 +20,27 @@ index 91d1e9e..5c2382f 100644
-static const char col_gray4[] = "#eeeeee";
-static const char col_cyan[] = "#005577";
+static const char col_black[] = "#152126";
-+static const char col_white[] = "#c0b1c2";
-+static const char col_hblack[] = "#5f5e66";
-+static const char col_hwhite[] = "#e1e1e6";
-+static const char col_purple[] = "#db498b";
++static const char col_red[] = "#b90440";
++static const char col_green[] = "#07b307";
++static const char col_yellow[] = "#d7ac00";
+static const char col_blue[] = "#876bd6";
++static const char col_purple[] = "#db498b";
++static const char col_cyan[] = "#41c7d1";
++static const char col_white[] = "#c0b1c2";
++static const char col_hi_black[] = "#5f5e66";
++static const char col_hi_red[] = "#ff246d";
++static const char col_hi_green[] = "#00ed00";
++static const char col_hi_yellow[] = "#ffd324";
++static const char col_hi_blue[] = "#7442ff";
++static const char col_hi_purple[] = "#ff2088";
++static const char col_hi_cyan[] = "#13efff";
++static const char col_hi_white[] = "#e1e1e6";
static const char *colors[][3] = {
/* fg bg border */
- [SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
- [SchemeSel] = { col_gray4, col_cyan, col_cyan },
-+ [SchemeNorm] = { col_white, col_black, col_hblack },
-+ [SchemeSel] = { col_hwhite, col_purple, col_blue },
++ [SchemeNorm] = { col_white , col_black, col_hi_black },
++ [SchemeSel] = { col_hi_white, col_blue , col_white },
};
/* tagging */
diff --git a/x11-wm/dwm/files/52_keys.diff b/x11-wm/dwm/files/52_keys.diff
index 7ed2974..8f650a2 100644
--- a/x11-wm/dwm/files/52_keys.diff
+++ b/x11-wm/dwm/files/52_keys.diff
@@ -8,7 +8,7 @@ index 5c2382f..25d4265 100644
/* appearance */
static const unsigned int borderpx = 1; /* border pixel of windows */
-@@ -68,16 +69,37 @@ static const Layout layouts[] = {
+@@ -68,16 +69,38 @@ static const Layout layouts[] = {
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
/* commands */
@@ -21,12 +21,13 @@ index 5c2382f..25d4265 100644
static const char scratchpadname[] = "scratchpad";
static const char *scratchpadcmd[] = { "st", "-t", scratchpadname, "-g", "120x34", NULL };
+static const char *browser_cmd[] = { "librewolf", NULL };
-+static const char *files_cmd[] = { "true", NULL }; /* WIP */
++static const char *files_cmd[] = { "st", "-e", "lf", NULL };
+static const char *mail_cmd[] = { "st", "-e", "neomutt", NULL };
+static const char *music_cmd[] = { "st", "-e", "rmpc", NULL };
+static const char *mixer_cmd[] = { "st", "-e", "pulsemixer", NULL };
+static const char *impala_cmd[] = { "st", "-e", "impala", NULL };
+static const char *poweroff_cmd[] = { "/home/lain/cyb/scripts/dmenu/power", NULL };
++static const char *bookmarks_cmd[] = { "/home/lain/cyb/scripts/dmenu/bookmarks", NULL };
+
+static const char *vol_up[] = { "wpctl", "set-volume", "@DEFAULT_SINK@", "5%+", NULL };
+static const char *vol_down[] = { "wpctl", "set-volume", "@DEFAULT_SINK@", "5%-", NULL };
@@ -40,7 +41,7 @@ index 5c2382f..25d4265 100644
+ { MODKEY|ShiftMask, XK_a, spawn, {.v = mixer_cmd } },
+ { MODKEY, XK_s, spawn, {.v = termcmd } },
+ { MODKEY, XK_w, spawn, {.v = browser_cmd } },
-+ { MODKEY|ShiftMask, XK_w, spawn, {.v = impala_cmd } },
++ { MODKEY|ShiftMask, XK_w, spawn, {.v = bookmarks_cmd } },
+ { MODKEY, XK_e, spawn, {.v = files_cmd } },
+ { MODKEY, XK_r, spawn, {.v = mail_cmd } },
+ { MODKEY, XK_q, spawn, {.v = poweroff_cmd } },