From f011d83234c0c0ee2d2a0279c8ddca5febd82a53 Mon Sep 17 00:00:00 2001 From: WanderingPenwing Date: Tue, 6 Aug 2024 12:09:02 +0200 Subject: [PATCH] added task manager and notes shortcut --- config.def.h | 8 +++++--- config.h | 2 ++ dwm.o | Bin 58424 -> 58360 bytes 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/config.def.h b/config.def.h index 5dff56d..ede0486 100644 --- a/config.def.h +++ b/config.def.h @@ -77,11 +77,11 @@ static const Key keys[] = { { MODKEY, XK_Up, focusstack, {.i = -1 } }, { MODKEY|ShiftMask, XK_Down, movestack, {.i = +1 } }, { MODKEY|ShiftMask, XK_Up, movestack, {.i = -1 } }, + { MODKEY|ShiftMask, XK_Left, setmfact, {.f = -0.05} }, + { MODKEY|ShiftMask, XK_Right, setmfact, {.f = +0.05} }, { MODKEY, XK_F12, incnmaster, {.i = +1 } }, { MODKEY, XK_F11, incnmaster, {.i = -1 } }, { MODKEY, XK_exclam, zoom, {0} }, - { MODKEY, XK_Left, setmfact, {.f = -0.05} }, - { MODKEY, XK_Right, setmfact, {.f = +0.05} }, { MODKEY|ShiftMask, XK_a, killclient, {0} }, { MODKEY, XK_Tab, view, {.ui = ~0 } }, { MODKEY|ShiftMask, XK_Tab, tag, {.ui = ~0 } }, @@ -99,7 +99,9 @@ static const Key keys[] = { { MODKEY, XK_F7, spawn, SHCMD("~/nixos/scripts/susuwatari/client.sh") }, { MODKEY, XK_F8, spawn, SHCMD("~/nixos/scripts/hdmi_paint.sh") }, { MODKEY, XK_F9, spawn, SHCMD("~/nixos/scripts/screen_sleep.sh") }, - { MODKEY, XK_Print, spawn, SHCMD("maim --select \"/home/penwing/Pictures/screenshots/$(date '+%Y_%m_%d %H:%M:%S').png\"") }, + { MODKEY, XK_Print, spawn, SHCMD("~/nixos/scripts/screenshot.sh") }, + { MODKEY, XK_t, spawn, SHCMD("~/nixos/scripts/task_manager.sh") }, + { MODKEY, XK_n, spawn, SHCMD("~/nixos/scripts/notes.sh") }, TAGKEYS( XK_ampersand, 0) TAGKEYS( XK_eacute, 1) TAGKEYS( XK_quotedbl, 2) diff --git a/config.h b/config.h index 36d48b8..ede0486 100644 --- a/config.h +++ b/config.h @@ -100,6 +100,8 @@ static const Key keys[] = { { MODKEY, XK_F8, spawn, SHCMD("~/nixos/scripts/hdmi_paint.sh") }, { MODKEY, XK_F9, spawn, SHCMD("~/nixos/scripts/screen_sleep.sh") }, { MODKEY, XK_Print, spawn, SHCMD("~/nixos/scripts/screenshot.sh") }, + { MODKEY, XK_t, spawn, SHCMD("~/nixos/scripts/task_manager.sh") }, + { MODKEY, XK_n, spawn, SHCMD("~/nixos/scripts/notes.sh") }, TAGKEYS( XK_ampersand, 0) TAGKEYS( XK_eacute, 1) TAGKEYS( XK_quotedbl, 2) diff --git a/dwm.o b/dwm.o index 4ec6288a856506a7eef8426edf406ccf409f1d98..1fb231dff6affbc9ec043c8a428a0b88f395c917 100644 GIT binary patch delta 826 zcmZ9IO=#0#7{~MWLpvDQIwg%#)>RoDOzRG^d08q7E!x2f4lKxMC@n3rHZDa(@M8y2 z!H;JDiynlP!5r#Ef-sLoFrB^FwZc%b>3Y(O)YA@XePdE6ec=5)AwT}f^Sm2n>#k}o z_{qlWu{j^wzN0qJ-%bbDeOddUssP@-gjUqlTBn71Sy|fWTa$%Atfa8%9&d;BP0lUg(X*Xa*xdn{RAV^^Sfiz zbCjrk+hfsVH9f0%i;hv^#+Vu)!-%N?Zq#lJaL;ITB!<~f&m@W}%bhpvcAvd~Dz!1w z2K5lFZdL#(vs~J=vwb#)32LvJHr{7%K%jQXv|^vV1G&tS`)JpP?D~`sl~Vbxh3np8 z@2~XRNkOQvC{!G{UGZBEPbe=ckM@w0IJFfbb6BF3uu1s@u3Ct^L5y-7MaortuZ0G7 zt@>IF<3+p1Vz%z*W^Bfr{*|9WuCv^lX?y3;$9#`cojuetZU0g~Z1`1QBeL@JlWHR= zMfe=BkrR-=spJ)6jY%>Hxxo`Bs+3;1G@h&@s__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