Update dwm config
This commit is contained in:
parent
e9fa07f980
commit
607cfe7484
21
config.def.h
21
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 */
|
||||
|
|
Loading…
Reference in New Issue