From c2989c1efc887918417b2f9f5485bfb89b102d10 Mon Sep 17 00:00:00 2001 From: schizoid Date: Mon, 9 Dec 2024 01:11:30 -0500 Subject: Added bindings for scripts for my dock --- config.def.h | 8 ++++++-- dwm.o | Bin 100024 -> 99888 bytes make.sh | 0 3 files changed, 6 insertions(+), 2 deletions(-) mode change 100644 => 100755 make.sh diff --git a/config.def.h b/config.def.h index aa26051..23f3325 100644 --- a/config.def.h +++ b/config.def.h @@ -14,8 +14,8 @@ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ #define ICONSIZE 16 /* icon size */ #define ICONSPACING 5 /* space between icon and title */ -static const char *fonts[] = { "Hack Nerd Font:size=8" }; -static const char dmenufont[] = "Hack Nerd Font:size=7"; +static const char *fonts[] = { "Hack Nerd Font:size=9" }; +static const char dmenufont[] = "Hack Nerd Font:size=8"; static const char col_gray1[] = "#222222"; static const char col_gray2[] = "#444444"; static const char col_gray3[] = "#bbbbbb"; @@ -97,6 +97,8 @@ static const char *browser[] = { "firefox", NULL}; static const char *email[] = { "thunderbird", NULL}; static const char *filemanagercmd[] = { "thunar", NULL }; static const char *scrot[] = { "screenshot", NULL }; +static const char *desk[] = { "docked.sh", NULL }; +static const char *lap[] = { "laptop.sh", NULL }; static const Key keys[] = { /* modifier key function argument */ @@ -106,6 +108,8 @@ static const Key keys[] = { { MODKEY, XK_Return, spawn, {.v = termcmd } }, { MODKEY|ShiftMask, XK_Return, spawn, {.v = filemanagercmd } }, { 0, XK_Print, spawn, {.v = scrot } }, + { MODKEY|ShiftMask, XK_g, spawn, {.v = desk } }, + { MODKEY|ShiftMask, XK_h, spawn, {.v = lap } }, { MODKEY|ShiftMask, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, diff --git a/dwm.o b/dwm.o index 0f22ea5..c04acca 100644 Binary files a/dwm.o and b/dwm.o differ diff --git a/make.sh b/make.sh old mode 100644 new mode 100755 -- cgit v1.2.3