summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProsperousPotato <ProsperousPotato@users.noreply.github.com>2024-10-08 17:28:46 +0000
committerProsperousPotato <ProsperousPotato@users.noreply.github.com>2025-03-31 18:31:28 +0100
commitd5ee7591bce5a16eb60719c00239e04cec43dd00 (patch)
treee6580861a0c6009d701214f48c796446afc3530e
parentec25d5fda43c218ff91623a53488bb6df00c0903 (diff)
lowkey forgot what i changed
-rw-r--r--config.h13
-rw-r--r--drw.obin11104 -> 11000 bytes
-rw-r--r--dwmbin76664 -> 77736 bytes
-rw-r--r--dwm.obin66952 -> 68392 bytes
-rw-r--r--util.obin2296 -> 2224 bytes
5 files changed, 8 insertions, 5 deletions
diff --git a/config.h b/config.h
index 896de98..a824fcc 100644
--- a/config.h
+++ b/config.h
@@ -3,6 +3,7 @@
/* Definitions */
#define TERMINAL "urxvtc"
+#define FLOATTERM "st"
#define BROWSER "librewolf"
/* appearance */
@@ -40,7 +41,7 @@ static const Rule rules[] = {
{ "qemu-system-x86_64","qemu-system-x86_64",NULL, 0, 1, 0, 0, -1 },
{ "Virt-manager",NULL, NULL, 0, 0, 0, 0, -1 },
{ "qBittorrent", NULL, NULL, 0, 1, 0, 0, -1 },
- { "St", NULL, NULL, 0, 0, 1, 0, -1 },
+ { "St", NULL, NULL, 0, 1, 1, 0, -1 },
{ "URxvt", NULL, NULL, 0, 0, 1, 0, -1 },
{ "Nvidia-settings", "nvidia-settings",NULL, 0, 1, 0, 0, -1 },
{ "scrcpy", NULL, NULL, 0, 1, 0, 0, -1 },
@@ -79,6 +80,7 @@ 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_cyan, "-sf", col_gray4, NULL };
static const char *termcmd[] = { TERMINAL, NULL };
static const char *sutermcmd[] = { TERMINAL,"-e", "su", NULL };
+static const char *floattermcmd[] = { "st", NULL };
static const char *volumeup[] = { "amixer", "sset", "Master", "5%+", NULL };
static const char *volumedown[] = { "amixer", "sset", "Master", "5%-", NULL };
static const char *volumetoggle[] = { "amixer", "sset", "Master", "toggle", NULL };
@@ -130,13 +132,14 @@ static const Key keys[] = {
/* Non-default commands i.e. commands added in by me and patches */
{ MODKEY|ShiftMask, XK_space, spawn, {.v = sutermcmd } },
+ { MODKEY|ControlMask, XK_space, spawn, {.v = floattermcmd } },
{ MODKEY|ShiftMask, XK_j, rotatestack, {.i = +1 } },
{ MODKEY|ShiftMask, XK_k, rotatestack, {.i = -1 } },
{ MODKEY, XK_g, spawn, SHCMD("~/.local/bin/./dmenu_games") },
- { MODKEY|ShiftMask, XK_m, spawn, {.v = (const char*[]){ TERMINAL, "-e", "neomutt", NULL } }},
- { MODKEY|ShiftMask, XK_n, spawn, {.v = (const char*[]){ TERMINAL, "-e", "nvim", NULL } }},
- { MODKEY|ShiftMask, XK_h, spawn, {.v = (const char*[]){ TERMINAL, "-e", "htop", NULL } }},
- { MODKEY, XK_e, spawn, {.v = (const char*[]){ TERMINAL, "-e", "lfub", NULL } }},
+ { MODKEY|ShiftMask, XK_m, spawn, {.v = (const char*[]){ FLOATTERM, "-e", "neomutt", NULL } }},
+ { MODKEY|ShiftMask, XK_n, spawn, {.v = (const char*[]){ FLOATTERM, "-e", "nvim", NULL } }},
+ { MODKEY|ShiftMask, XK_h, spawn, {.v = (const char*[]){ FLOATTERM, "-e", "htop", NULL } }},
+ { MODKEY, XK_e, spawn, {.v = (const char*[]){ FLOATTERM, "-e", "lfub", NULL } }},
{ MODKEY, XK_Print, spawn, SHCMD("scrot -q 100 ~/Pictures/%Y-%m.jpg") },
{ MODKEY, XK_Up, spawn, {.v = volumeup } },
{ MODKEY, XK_Down, spawn, {.v = volumedown } },
diff --git a/drw.o b/drw.o
index da96676..249df4c 100644
--- a/drw.o
+++ b/drw.o
Binary files differ
diff --git a/dwm b/dwm
index ae1f745..3c0c490 100644
--- a/dwm
+++ b/dwm
Binary files differ
diff --git a/dwm.o b/dwm.o
index 528069e..4dec89f 100644
--- a/dwm.o
+++ b/dwm.o
Binary files differ
diff --git a/util.o b/util.o
index 44e14f7..26ab857 100644
--- a/util.o
+++ b/util.o
Binary files differ