summaryrefslogtreecommitdiff
path: root/profiles
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2023-06-08 22:09:38 -0500
committerstkhan <personal@slickd.xyz>2023-06-08 22:09:38 -0500
commitdb14a74d6a24f0c4402ffc953cbe372cc408ebf8 (patch)
tree16810ad9b7d60ed2bc4762f2ef1315c7dec8c94d /profiles
parent3574936b66b398ab2d3d671c0df909740bed61c5 (diff)
Change modes to profiles and clean
Diffstat (limited to 'profiles')
-rw-r--r--profiles/master/Makefile4
-rw-r--r--profiles/master/blocks.h15
-rw-r--r--profiles/master/keys.h72
3 files changed, 91 insertions, 0 deletions
diff --git a/profiles/master/Makefile b/profiles/master/Makefile
new file mode 100644
index 0000000..55b881e
--- /dev/null
+++ b/profiles/master/Makefile
@@ -0,0 +1,4 @@
+all: master
+
+master:
+ cp keys.h ../../wm/dwm-6.4/
diff --git a/profiles/master/blocks.h b/profiles/master/blocks.h
new file mode 100644
index 0000000..2b7566c
--- /dev/null
+++ b/profiles/master/blocks.h
@@ -0,0 +1,15 @@
+//Modify this file to change what commands output to your statusbar, and recompile using the make command.
+static const Block blocks[] = {
+
+ /*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
+ {"", "dwmblocks-mpc", 2, 2},
+ {"", "dwmblocks-du", 60, 0},
+ {"", "dwmblocks-volume", 0, 10},
+ {"", "dwmblocks-battery", 1, 0},
+ {"🕗 ", "date '+%k:%M'", 1, 0},
+ {"📅 ", "date '+%A, %B %d %G'", 1, 0},
+};
+
+//sets delimeter between status commands. NULL character ('\0') means no delimeter.
+static char delim[] = " | ";
+static unsigned int delimLen = 5;
diff --git a/profiles/master/keys.h b/profiles/master/keys.h
new file mode 100644
index 0000000..2277b77
--- /dev/null
+++ b/profiles/master/keys.h
@@ -0,0 +1,72 @@
+static Key keys[] = {
+ /* modifier key function argument */
+ { MODKEY, XK_d, spawn, {.v = dmenucmd } },
+ { MODKEY, XK_Return, spawn, {.v = termcmd } },
+ { MODKEY, XK_b, togglebar, {0} },
+ { MODKEY, XK_j, focusstack, {.i = +1 } },
+ { MODKEY, XK_k, focusstack, {.i = -1 } },
+ { MODKEY, XK_i, incnmaster, {.i = +1 } },
+ { MODKEY, XK_u, incnmaster, {.i = -1 } },
+ { MODKEY, XK_h, setmfact, {.f = -0.05} },
+ { MODKEY, XK_l, setmfact, {.f = +0.05} },
+ { MODKEY|ShiftMask, XK_Return, zoom, {0} },
+ { MODKEY, XK_Tab, view, {0} },
+ { MODKEY, XK_x, killclient, {0} },
+ { MODKEY, XK_space, setlayout, {0} },
+ { MODKEY|ShiftMask, XK_space, togglefloating, {0} },
+ { MODKEY, XK_0, view, {.ui = ~0 } },
+ { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
+ { MODKEY, XK_comma, focusmon, {.i = -1 } },
+ { MODKEY, XK_period, focusmon, {.i = +1 } },
+ { MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } },
+ { MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
+ { MODKEY, XK_F3, spawn, SHCMD("st ranger") },
+ { MODKEY, XK_F5, spawn, SHCMD("st ncmpcpp") },
+ { MODKEY, XK_f, spawn, SHCMD("brave") },
+ { MODKEY|ShiftMask, XK_f, spawn, SHCMD("brave --incognito") },
+ { MODKEY, XK_w, spawn, SHCMD("curl wttr.in > ~/.cache/weather_report; st less -Srf ~/.cache/weather_report") },
+ { MODKEY, XK_F11, spawn, SHCMD("pamixer --allow-boost -i 5; kill -44 $(pidof dwmblocks)") },
+ { MODKEY, XK_F10, spawn, SHCMD("pamixer --allow-boost -d 5; kill -44 $(pidof dwmblocks)") },
+ { MODKEY|ShiftMask, XK_F10, spawn, SHCMD("pavucontrol") },
+ { MODKEY|ShiftMask, XK_F11, spawn, SHCMD("pavucontrol") },
+ { MODKEY, XK_F7, spawn, BASHCMD("mpc toggle") },
+ { MODKEY, XK_F8, spawn, BASHCMD("mpc prev") },
+ { MODKEY, XK_F6, spawn, BASHCMD("mpc next") },
+ { MODKEY, XK_m, spawn, SHCMD("st neomutt") },
+ { MODKEY, XK_F9, spawn, BASHCMD("pamixer -t; kill -44 $(pidof dwmblocks)") },
+ { MODKEY, XK_a, spawn, SHCMD("st newsboat") },
+ { MODKEY|ShiftMask, XK_l, spawn, SHCMD("slock") },
+ { MODKEY, XK_n, spawn, SHCMD("dmenuvpn") },
+ { MODKEY|ShiftMask, XK_F9, spawn, SHCMD("amixer set Capture toggle") },
+ { MODKEY, XK_F1, spawn, SHCMD("sudo light -U 5; kill -44 $(pidof dwmblocks)") },
+ { MODKEY, XK_z, spawn, SHCMD("passgen --generate") },
+ { MODKEY|ShiftMask, XK_z, spawn, SHCMD("passgen --decrypt") },
+ { MODKEY, XK_F2, spawn, SHCMD("sudo light -A 5; kill -44 $(pidof dwmblocks)") },
+ { MODKEY, XK_p, spawn, SHCMD("nsxiv -t ~/Pictures") },
+ { MODKEY, XK_F12, spawn, SHCMD("power") },
+ { MODKEY, XK_F4, spawn, SHCMD("galculator") },
+ { MODKEY, XK_e, spawn, SHCMD("sarc.sh --unicode") },
+ { MODKEY, XK_g, spawn, SHCMD("web_search") },
+ { MODKEY, XK_t, spawn, SHCMD("st vim ~/.cache/todo") },
+ { MODKEY, XK_y, spawn, SHCMD("st mpv `yt-dlp -g -f 18 $(xclip -o)`") },
+ { WINKEY, XK_1, spawn, SHCMD("st vim ~/.cache/.sarc_notes.1") },
+ { WINKEY, XK_2, spawn, SHCMD("st vim ~/.cache/.sarc_notes.2") },
+ { WINKEY, XK_3, spawn, SHCMD("st vim ~/.cache/.sarc_notes.3") },
+ { WINKEY, XK_4, spawn, SHCMD("st vim ~/.cache/.sarc_notes.4") },
+ { WINKEY, XK_5, spawn, SHCMD("st vim ~/.cache/.sarc_notes.5") },
+ { WINKEY, XK_6, spawn, SHCMD("st vim ~/.cache/.sarc_notes.6") },
+ { WINKEY, XK_7, spawn, SHCMD("st vim ~/.cache/.sarc_notes.7") },
+ { WINKEY, XK_8, spawn, SHCMD("st vim ~/.cache/.sarc_notes.8") },
+ { WINKEY, XK_9, spawn, SHCMD("st vim ~/.cache/.sarc_notes.9") },
+ TAGKEYS( XK_1, 0)
+ TAGKEYS( XK_2, 1)
+ TAGKEYS( XK_3, 2)
+ TAGKEYS( XK_4, 3)
+ TAGKEYS( XK_5, 4)
+ TAGKEYS( XK_6, 5)
+ TAGKEYS( XK_7, 6)
+ TAGKEYS( XK_8, 7)
+ TAGKEYS( XK_9, 8)
+ { ControlMask, XK_q, quit, {1} },
+ { MODKEY|ShiftMask, XK_q, quit, {0} },
+};