From 607cfe748444ca3fc660c07fd803d5e5af5dd79c Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Tue, 4 Mar 2025 20:20:33 +0100 Subject: [PATCH] Update dwm config --- config.def.h | 21 +++++++++------------ 1 file changed, 9 insertions(+), 12 deletions(-) diff --git a/config.def.h b/config.def.h index 3cc86c5..5721f67 100644 --- a/config.def.h +++ b/config.def.h @@ -65,19 +65,13 @@ const char *spcmd1[] = {"st", "-n", "spterm", "-g", "120x34", NULL }; const char *spcmd2[] = {"st", "-n", "spranger", "-g", "144x41", "-e", "ranger", NULL }; //const char *spcmd2[] = {"st", "-n", "sppcmanfm", "-g", "144x41", "-e", "/home/slococo/launchPcmanfm", NULL }; //const char *spcmd2[] = {"pcmanfm", NULL }; -#ifdef THINKPAD -const char *spcmd3[] = {"bitwarden", NULL }; -#else -const char *spcmd3[] = {"bitwarden-desktop", NULL }; -#endif -const char *spcmd4[] = {"/home/slococo/.local/bin/keepass", NULL }; +// const char *spcmd3[] = {"$HOME/.local/bin/keepass", NULL }; +const char *spcmd3[] = {"/home/slococo/.local/bin/keepass", NULL }; static Sp scratchpads[] = { /* name cmd */ {"spterm", spcmd1}, {"spranger", spcmd2}, - //{"sppcmanfm", spcmd2}, - {"bitwarden", spcmd3}, - {"keepassxc", spcmd4}, + {"keepassxc", spcmd3}, }; /* tagging */ @@ -234,7 +228,7 @@ static Key keys[] = { { MODKEY, XK_x, togglescratch, {.ui = 0 } }, { MODKEY, XK_y, togglescratch, {.ui = 1 } }, { MODKEY, XK_u, togglescratch, {.ui = 2 } }, - { MODKEY, XK_i, togglescratch, {.ui = 3 } }, + // { MODKEY, XK_i, togglescratch, {.ui = 3 } }, TAGKEYS( XK_1, 0) TAGKEYS( XK_2, 1) TAGKEYS( XK_3, 2) @@ -253,7 +247,8 @@ static Key keys[] = { #else { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("$HOME/.local/bin/volume sink -0.01; sigdwmblocks 2") }, { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("$HOME/.local/bin/volume sink +0.01; sigdwmblocks 2") }, - { 0, XF86XK_AudioMute, spawn, SHCMD("$HOME/.local/bin/volume sink mute; sigdwmblocks 2") }, + //{ 0, XF86XK_AudioMute, spawn, SHCMD("$HOME/.local/bin/volume sink mute; sigdwmblocks 2") }, + { 0, XF86XK_AudioMute, spawn, SHCMD("$HOME/.local/bin/out-mute") }, //{ 0, XF86XK_AudioMicMute, spawn, SHCMD("$HOME/.local/bin/volume source mute; sigdwmblocks 2") }, { 0, XF86XK_AudioMicMute, spawn, SHCMD("$HOME/.local/bin/mic-mute") }, #endif @@ -301,7 +296,9 @@ static Key keys[] = { { MODKEY|ControlMask, XK_c, spawn, SHCMD("$HOME/.local/bin/copy") }, { MODKEY|ShiftMask|ControlMask, XK_c, spawn, SHCMD("$HOME/.local/bin/copyRaw") }, { MODKEY|ControlMask, XK_v, spawn, SHCMD("$HOME/.local/bin/paste") }, - { MODKEY, XK_o, spawn, SHCMD("$HOME/.local/bin/passhole-type") }, + { MODKEY|ShiftMask|ControlMask, XK_v, spawn, SHCMD("$HOME/.local/bin/paste primary") }, + { MODKEY, XK_i, spawn, SHCMD("$HOME/.local/bin/passhole-type") }, + { MODKEY, XK_o, spawn, SHCMD("$HOME/.local/bin/rbw-menu") }, }; /* button definitions */