Introduction
Introduction Statistics Contact Development Disclaimer Help
tconfig.h: update keybinds - dwm - [fork] customized build of dwm, the dynamic …
git clone git://src.adamsgaard.dk/dwm
Log
Files
Refs
README
LICENSE
---
commit 083dd3ffbccaf744fd35574e22d3986182ee215e
parent a912389f8217b154da32f6c7715ad544cdb78c78
Author: Anders Damsgaard <[email protected]>
Date: Fri, 1 Jul 2022 09:28:55 +0200
config.h: update keybinds
Diffstat:
M config.h | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
---
diff --git a/config.h b/config.h
t@@ -75,9 +75,9 @@ static const Layout layouts[] = {
static char dmenumon[2] = "0";
#define HOME "/home/ad"
-#define TERMINAL "x-terminal-emulator"
-#define BROWSER "surf-open.sh"
-#define MPD_REMOTE "mini"
+#define TERMINAL HOME "/bin/x-terminal-emulator"
+#define BROWSER "firefox"
+#define MPD_REMOTE "192.168.0.12"
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
#define TERMCMD(...) {TERMINAL, "-e", __VA_ARGS__, NULL}
t@@ -89,6 +89,7 @@ static char dmenumon[2] = "0";
static const char *termcmd[] = TERMCMD("ksh", "-l");
static const char *termplexcmd[] = TERMCMD("tmux");
+static const char *acmecmd[] = {"a", NULL};
static const char *dmenucmd[] = {"dmenu_run", NULL};
static const char *searchcmd[] = {"search", NULL};
static const char *articlesearchcmd[] = {"articlesearch", NULL};
t@@ -105,6 +106,8 @@ static const char *screenrecordcmd[] = {"screenrecord", …
static const char *castcmd[] = {"adcast", NULL};
static const char *plumbcmd[] = {"clipplumb", NULL};
static const char *plumb2cmd[] = {"clipplumb", "-c", NULL};
+static const char *plumbremotecmd[] = {"clipplumb", "-r", NULL};
+static const char *plumb2remotecmd[] = {"clipplumb", "-c", "-r", NULL};
static const char *ytdlaudiocmd[] = {"youtube-dl-music", "-t", "-a", "-m"…
static const char *showclipcmd[] = {"showclip", NULL};
static const char *xlockcmd[] = {"xlock", NULL};
t@@ -119,7 +122,7 @@ static const char *contactscmd[] = {"contacts", NULL…
static const char *browsercmd[] = {BROWSER, HOME "/doc/bookmark.html", …
static const char *journalcmd[] = TERMCMD("tmux-journal.sh");
-static const char *topcmd[] = TERMCMD("top", "-C");
+static const char *topcmd[] = TERMCMD("htop", "-C");
static const char *mailcmd[] = DUPLEXCMD("mutt");
/* static const char *filecmd[] = TERMCMD("sh", "-c", "cd ~/tmp; ls …
static const char *newscmd[] = DUPLEXCMD("sfeed_curses $HOME/.sfeed/…
t@@ -162,7 +165,7 @@ static const char *mouseleftclickcmd[] = {"xdotool", "clic…
static const char *mouserightclickcmd[]= {"xdotool", "click", "3", NULL};
static const char *showkeyscmd[] = {"screenkey-toggle", NULL};
-static const char *goatcmd[] = { "sh", "-c", "mpv \"$(hurl gopher://bitreich.…
+static const char *goatcmd[] = { "sh", "-c", "mpv \"$(hurl gopher://bitreich.…
/* see key names in /usr/include/X11/keysymdef.h */
static Key keys[] = {
t@@ -207,6 +210,7 @@ static Key keys[] = {
{ MODKEY|ShiftMask, XK_F7, spawn, {.v = displ…
{ MODKEY, XK_F9, spawn, {.v = showk…
+ { MODKEY, XK_a, spawn, {.v = acmec…
{ MODKEY|ShiftMask, XK_a, spawn, {.v = artic…
{ MODKEY|ControlMask|ShiftMask, XK_a, spawn, {.v = mixer…
{ MODKEY|MODALTKEY, XK_b, togglebar, {0} },
t@@ -254,6 +258,8 @@ static Key keys[] = {
{ MODKEY|ShiftMask, XK_t, setlayout, {.v = &layo…
{ MODKEY, XK_u, spawn, {.v = plumb…
{ MODKEY|ShiftMask, XK_u, spawn, {.v = plumb…
+ { MODKEY|ControlMask, XK_u, spawn, {.v = plumb…
+ { MODKEY|ControlMask|ShiftMask, XK_u, spawn, {.v = plumb…
{ MODKEY, XK_v, spawn, {.v = video…
{ MODKEY, XK_w, spawn, {.v = brows…
{ MODKEY|ShiftMask, XK_w, spawn, {.v = torbr…
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.