commit d0449ea5d04d38cc8ad6992e9854948237c3ca37
parent 29f84d9ca45f7dba661cb10bce6c0c5a044c1132
Author: Andrew Laack <andrew@laack.co>
Date: Sun, 15 Feb 2026 20:43:06 -0600
Updated some default keybindings for note taking, removed old unused bindings
Diffstat:
| M | config.h | | | 28 | +++++++++++++++++----------- |
1 file changed, 17 insertions(+), 11 deletions(-)
diff --git a/config.h b/config.h
@@ -6,12 +6,12 @@
// movestack (move windows up and down the stack. This gives better control)
/* appearance */
-static const unsigned int borderpx = 0; /* border pixel of windows */
+static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
-static const char *fonts[] = { "FiraCode:size=12" };
-static const char dmenufont[] = "FiraCode:size=12";
+static const char *fonts[] = { "FiraCode:size=10" };
+static const char dmenufont[] = "FiraCode:size=10";
static const char col_black[] = "#000000";
static const char col_white[] = "#000000";
@@ -85,7 +85,7 @@ static const char highlight[] = "#AAAAAA";
static const char *dmenucmd[] = {"/home/andrew/bin/dmenu.sh", background, foreground, highlight, NULL};
static const char *endcmd[] = {"/home/andrew/bin/power.sh", background, foreground, highlight, NULL};
static const char *passcmd[] = {"/home/andrew/bin/pass.sh", background, foreground, highlight, NULL};
-static const char *tmuxcmd[] = {"/home/andrew/bin/tmux.sh", background, foreground, highlight, NULL};
+//static const char *tmuxcmd[] = {"/home/andrew/bin/tmux.sh", background, foreground, highlight, NULL};
//static const char *emacscmd[] = {"/home/andrew/bin/emacs.sh" , NULL };
//static const char *attachcmd[] = {"/home/andrew/bin/attach.sh", background, foreground, highlight, NULL};
@@ -96,7 +96,7 @@ static const char *zathuracmd[] = {"/home/andrew/bin/zathura.sh", background, fo
//static const char *rsynccmd[] = {"/home/andrew/bin/rsync.sh", background, foreground, highlight, NULL};
static const char *musiccmd[] = {"/home/andrew/bin/find-music.sh", "/home/andrew/syncing/music/" , background, foreground, highlight, NULL};
//static const char *rangercmd[] = {"/home/andrew/bin/ranger.sh", "/home/" , background, foreground, highlight, NULL};
-static const char *workspacecmd[] = {"/home/andrew/bin/init-screen.sh", background, foreground, highlight, NULL};
+//static const char *workspacecmd[] = {"/home/andrew/bin/init-screen.sh", background, foreground, highlight, NULL};
// copying bookmarks
// static const char *bookmarkscmd[] = {"/home/andrew/bin/bookmarks.sh", NULL};
// static const char *addbookmarkcmd[] = {"/home/andrew/bin/add-bookmark.sh", NULL};
@@ -113,13 +113,17 @@ static const char *workspacecmd[] = {"/home/andrew/bin/init-screen.sh", backgrou
static const char *lockcmd[] = {"/home/andrew/bin/lock.sh", NULL};
static const char *screenshotcmd[] = {"/home/andrew/bin/screenshot.sh", NULL};
-//static const char *mpvpastecmd[] = {"/home/andrew/bin/mpv.sh", NULL};
+static const char *todocmd[] = {"/home/andrew/bin/todo.sh", NULL};
+static const char *docscmd[] = {"/home/andrew/bin/docs.sh", NULL};
+
+// play
+static const char *mpvpastecmd[] = {"/home/andrew/bin/mpv.sh", NULL};
//static const char *suspendcmd[] = {"/home/andrew/bin/suspend.sh" , NULL};
static const char *termcmd[] = {"/home/andrew/bin/terminal.sh", NULL};
//static const char *browsercmd[] = {"xclip -o -sel clipboard | xargs qutebrowser --target window", NULL};
-static const char *webbrowsercmd[] = {"qutebrowser", NULL};
+//static const char *webbrowsercmd[] = {"qutebrowser", NULL};
#include "movestack.c"
@@ -130,7 +134,8 @@ static const Key keys[] = {
{ MODKEY, XK_p, spawn, {.v = passcmd } },
//{ MODKEY, XK_a, spawn, {.v = abducocmd } },
- { MODKEY, XK_t, spawn, {.v = tmuxcmd } },
+ //{ MODKEY, XK_t, spawn, {.v = tmuxcmd } },
+ { MODKEY, XK_d, spawn, {.v = docscmd } },
// I didn't really use this.
//{ MODKEY, XK_a, spawn, {.v = attachcmd} },
//{ MODKEY, XK_s, spawn, {.v = searchcmd } },
@@ -139,7 +144,7 @@ static const Key keys[] = {
{ MODKEY, XK_m, spawn, {.v = musiccmd } },
//{ MODKEY, XK_t, spawn, {.v = tabbedcmd } },
//{ MODKEY, XK_r, spawn, {.v = rangercmd } },
- { MODKEY, XK_w, spawn, {.v = workspacecmd} },
+ //{ MODKEY, XK_w, spawn, {.v = workspacecmd} },
// copy bookmark
//{ MODKEY, XK_b, spawn, {.v = bookmarkscmd} },
@@ -158,10 +163,11 @@ static const Key keys[] = {
// add bookmark
//{ MODKEY|ShiftMask, XK_b, spawn, {.v = addbookmarkcmd} },
{ MODKEY|ShiftMask, XK_s, spawn, {.v = screenshotcmd } },
+ { MODKEY, XK_t, spawn, {.v = todocmd} },
//{ MODKEY|ShiftMask, XK_l, spawn, {.v = openlibrewolfcmd } },
{ MODKEY, XK_l, spawn, {.v = lockcmd } },
- //{ MODKEY|ShiftMask, XK_m, spawn, {.v = mpvpastecmd } },
- { MODKEY|ShiftMask, XK_w, spawn, {.v = webbrowsercmd } },
+ { MODKEY|ShiftMask, XK_p, spawn, {.v = mpvpastecmd } },
+ //{ MODKEY|ShiftMask, XK_w, spawn, {.v = webbrowsercmd } },
//{ MODKEY|ShiftMask, XK_e, spawn, {.v = emacscmd } },
// this shouldn't really be used seriously.