summaryrefslogtreecommitdiff
path: root/wm
diff options
context:
space:
mode:
authorstkhan <personal@slickd.xyz>2022-07-14 17:24:47 -0500
committerstkhan <personal@slickd.xyz>2022-07-14 17:24:47 -0500
commit4c76c38b590bd74189fcd66bf258d1da547274bb (patch)
tree4844d710488f9e777b0f1f18daedd5ee536ad6e8 /wm
parent8564b5cb470d957fe73051ff32557057682b26d2 (diff)
Add some keybinds
Diffstat (limited to 'wm')
-rw-r--r--wm/dwm-6.3/config.h17
1 files changed, 11 insertions, 6 deletions
diff --git a/wm/dwm-6.3/config.h b/wm/dwm-6.3/config.h
index f76e03b..d998bc5 100644
--- a/wm/dwm-6.3/config.h
+++ b/wm/dwm-6.3/config.h
@@ -30,8 +30,11 @@ static const unsigned int alphas[][3] = {
static const char *const autostart[] = {
"xsetroot", "-name", "Loading dwmblocks...", NULL,
+ "source", "/tmp/display", "&", "autorandr", "-l", "$(echo $display)", NULL,
"dwmblocks", NULL,
"fehbg", NULL,
+ "dunst", NULL,
+ "mpdas", NULL,
"picom", "--experimental-backends", NULL,
NULL /* terminate */
};
@@ -97,7 +100,7 @@ static const char *termcmd[] = { "st", NULL };
static Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_d, spawn, {.v = dmenucmd } },
- { MODKEY, XK_Return, spawn, {.v = termcmd } },
+ { MODKEY, XK_Return, spawn, SHCMD("source ~/.config/sarc/sarc.cfg && $sarc_terminal") },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
@@ -119,12 +122,14 @@ static Key keys[] = {
{ 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-ueberzug") },
- { MODKEY|ShiftMask, XK_f, spawn, SHCMD("firejail --noprofile --hosts-file=~/.config/surf/ads.txt tabbed surf -e") },
- { MODKEY, XK_w, spawn, SHCMD("get_weather") },
+ { MODKEY, XK_F3, spawn, SHCMD("source ~/.config/sarc/sarc.cfg && $sarc_terminal ranger") },
+ { MODKEY, XK_F5, spawn, SHCMD("source ~/.config/sarc/sarc.cfg && $sarc_terminal ncmpcpp-ueberzug") },
+ { MODKEY|ShiftMask, XK_f, spawn, SHCMD("source ~/.config/sarc/sarc.cfg && $sarc_browser") },
+ { MODKEY, XK_w, spawn, SHCMD("sarc.sh --get_weather") },
{ 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") },
@@ -139,7 +144,7 @@ static Key keys[] = {
{ MODKEY, XK_e, spawn, SHCMD("sarc.sh --unicode") },
{ MODKEY, XK_s, spawn, SHCMD("sarc.sh --search_web") },
{ MODKEY, XK_g, spawn, SHCMD("sarc.sh --goto-website") },
- { MODKEY, XK_t, spawn, SHCMD("st vim ~/.cache/todo") },
+ { MODKEY, XK_t, spawn, SHCMD("source ~/.config/sarc/sarc.cfg && $sarc_terminal vim ~/.cache/todo") },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)