commit 828171f2f4147e23bdda2413c5a4c300c5a1fd95
parent 8af3fbc9e053cba4384d7cea853e57e1ec39e6c5
Author: tddra <Tdd0r@proton.me>
Date: Wed, 19 Nov 2025 19:50:57 +0100
README added + some minor changes to dwm
Diffstat:
3 files changed, 61 insertions(+), 5 deletions(-)
diff --git a/README.md b/README.md
@@ -0,0 +1,49 @@
+# Suckless Software
+
+My custom builds of suckless software - tools that follow the suckless philosophy of simplicity, clarity, and minimal code.
+
+## What's Inside
+
+### dwm/
+Dynamic window manager for X. My build includes patches:
+- autostart
+- colorbar
+- cursorwarp-mononly
+- fullgaps
+- swallow
+- systray
+
+### slock/
+Simple screen locker. Patches applied:
+- blur_pixelated_screen
+- foreground-and-background
+
+### st/
+Simple terminal emulator. Patched with:
+- anysize
+- kitty-graphics
+- scrollback
+
+## Building
+
+Each program can be built independently:
+
+```bash
+cd dwm/ # or slock/ or st/
+make clean install
+```
+
+**Requirements:** Xlib header files
+
+## Configuration
+
+Edit `config.def.h` in each directory, then recompile:
+
+```bash
+make clean install
+```
+
+## More Info
+
+Visit [suckless.org](https://suckless.org) for documentation and additional patches.
+
diff --git a/dwm/config.def.h b/dwm/config.def.h
@@ -77,7 +77,8 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_red, "-sf", col_gray4, NULL };
static const char *termcmd[] = { "st", NULL };
-static const char *tbdsurf[] = { "tabbed", "surf", "-e", NULL };
+static const char *aicmd[] = { "chromium", "--app=https://perplexity.ai", NULL };
+/* static const char *tbdsurf[] = { "tabbed", "surf", "-e", NULL }; */
/*Volume controll keys*/
#include <X11/XF86keysym.h>
@@ -89,7 +90,10 @@ static const Key keys[] = {
/* modifier key function argument */
{ MODKEY|ShiftMask, XK_d, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
- { MODKEY|ShiftMask, XK_b, spawn, {.v = tbdsurf} },
+ { MODKEY|ShiftMask, XK_b, spawn, SHCMD("librewolf") },
+ { MODKEY|ShiftMask, XK_e, spawn, SHCMD("thunderbird") },
+ { MODKEY|ShiftMask, XK_t, spawn, SHCMD("io.github.alainm23.planify") },
+ { MODKEY|ShiftMask, XK_a, spawn, {.v = aicmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
@@ -120,7 +124,8 @@ static const Key keys[] = {
{ 0, XF86XK_MonBrightnessUp, spawn, SHCMD("light -A 5 ") },
{ 0, XF86XK_MonBrightnessDown, spawn, SHCMD("light -U 5 ") },
{ MODKEY|ShiftMask, XK_s, spawn, {.v = screenshot} },
- { MODKEY|ShiftMask, XK_l, spawn, SHCMD("slock & systemctl suspend") },
+ { MODKEY|ShiftMask, XK_q, spawn, SHCMD("slock") },
+ { MODKEY|ControlMask|ShiftMask, XK_q, spawn, SHCMD("slock & systemctl suspend") },
{ MODKEY|ShiftMask, XK_f, spawn, SHCMD("st sfeed_update ; st sfeed_curses /home/tdr/.sfeed/feeds/*") },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
@@ -131,7 +136,7 @@ static const Key keys[] = {
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
- { MODKEY|ShiftMask, XK_q, quit, {0} },
+ { MODKEY|ShiftMask, XK_Escape, quit, {0} },
};
/* button definitions */
diff --git a/dwm/scripts/autostart.sh b/dwm/scripts/autostart.sh
@@ -4,10 +4,12 @@ xset r rate 300 50
# setxkbmap -option ctrl:nocaps
setxkbmap -option caps:super
setxkbmap -layout us,ru -option 'grp:win_space_toggle' &
+# sync calculator
+calcurse-caldav
#picom &
dunst &
feh --bg-scale ~/.config/nix/home-manager/modules/VngWallpaper.png
-nm-applet &
+# nm-applet &
sh ~/.config/kensington-trackball-setup.sh &
sh ./batteryNotification.sh &
while true; do