|
|
@ -70,31 +70,25 @@ static const char *termcmd[] = { "/usr/local/bin/st", NULL };
|
|
|
|
static const char *browsecmd[] = { "/usr/bin/librewolf", "-p", "browsing", NULL };
|
|
|
|
static const char *browsecmd[] = { "/usr/bin/librewolf", "-p", "browsing", NULL };
|
|
|
|
static const char *acccmd[] = { "/usr/bin/librewolf", "-p", "accounts", NULL };
|
|
|
|
static const char *acccmd[] = { "/usr/bin/librewolf", "-p", "accounts", NULL };
|
|
|
|
static const char *filebrowse[] = { "/usr/local/bin/st", "-e", "/usr/bin/vifmrun", NULL };
|
|
|
|
static const char *filebrowse[] = { "/usr/local/bin/st", "-e", "/usr/bin/vifmrun", NULL };
|
|
|
|
static const char *sharecmd[] = { "/usr/local/bin/st", "-c", "floating-term", "-g", "130x35", "-e", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/shr", NULL };
|
|
|
|
static const char *bmcmd[] = { "bash", "/home/sufyaan/docs/sys/gits/personal/dots/scripts/system/bookmarks", "bm", NULL };
|
|
|
|
static const char *viewnote[] = { "/usr/local/bin/st", "-c", "floating-term", "-g", "130x35", "-e", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/viewnote", NULL };
|
|
|
|
static const char *cmdcmd[] = { "bash", "/home/sufyaan/docs/sys/gits/personal/dots/scripts/system/bookmarks", "cmd", NULL };
|
|
|
|
static const char *takenote[] = { "bash", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/note", NULL };
|
|
|
|
static const char *volup[] = { "bash", "/home/sufyaan/docs/sys/gits/personal/dots/scripts/system/volume", "up", "nord", NULL };
|
|
|
|
static const char *bmcmd[] = { "bash", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/bookmarks", NULL };
|
|
|
|
static const char *voldown[] = { "bash", "/home/sufyaan/docs/sys/gits/personal/dots/scripts/system/volume", "down", "nord", NULL };
|
|
|
|
static const char *volup[] = { "bash", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/system/volume", "up", NULL };
|
|
|
|
static const char *volmute[] = { "bash", "/home/sufyaan/docs/sys/gits/personal/dots/scripts/system/volume", "mute", "nord", NULL };
|
|
|
|
static const char *voldown[] = { "bash", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/system/volume", "down", NULL };
|
|
|
|
|
|
|
|
static const char *volmute[] = { "bash", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/system/volume", "mute", NULL };
|
|
|
|
|
|
|
|
static const char *lockcmd[] = { "slock", NULL };
|
|
|
|
static const char *lockcmd[] = { "slock", NULL };
|
|
|
|
static const char *powercmd[] = { "bash", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/system/power", NULL };
|
|
|
|
static const char *powercmd[] = { "bash", "/home/sufyaan/docs/sys/gits/personal/dots/scripts/system/power", NULL };
|
|
|
|
static const char *screenshotcmd[] = { "flameshot", "gui", NULL };
|
|
|
|
static const char *screenshotcmd[] = { "flameshot", "gui", NULL };
|
|
|
|
static const char *ytcmd[] = { "bash", "/home/sufyaan/docs/sys/gits/scripts-dotfiles/scripts/yt", "-g", NULL };
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
static const Key keys[] = {
|
|
|
|
static const Key keys[] = {
|
|
|
|
/* modifier key function argument */
|
|
|
|
/* modifier key function argument */
|
|
|
|
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
|
|
|
|
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
|
|
|
|
{ MODKEY, XK_e, spawn, {.v = filebrowse } },
|
|
|
|
{ MODKEY, XK_e, spawn, {.v = filebrowse } },
|
|
|
|
{ MODKEY, XK_c, spawn, {.v = sharecmd } },
|
|
|
|
{ MODKEY, XK_c, spawn, {.v = cmdcmd } },
|
|
|
|
{ MODKEY, XK_z, spawn, {.v = bmcmd } },
|
|
|
|
{ MODKEY, XK_z, spawn, {.v = bmcmd } },
|
|
|
|
{ MODKEY, XK_y, spawn, {.v = ytcmd } },
|
|
|
|
|
|
|
|
{ MODKEY, XK_Delete, spawn, {.v = powercmd } },
|
|
|
|
{ MODKEY, XK_Delete, spawn, {.v = powercmd } },
|
|
|
|
{ MODKEY, XK_F9, spawn, {.v = volmute } },
|
|
|
|
{ MODKEY, XK_F9, spawn, {.v = volmute } },
|
|
|
|
{ MODKEY, XK_F10, spawn, {.v = voldown } },
|
|
|
|
{ MODKEY, XK_F10, spawn, {.v = voldown } },
|
|
|
|
{ MODKEY, XK_F11, spawn, {.v = volup } },
|
|
|
|
{ MODKEY, XK_F11, spawn, {.v = volup } },
|
|
|
|
{ MODKEY, XK_n, spawn, {.v = takenote } },
|
|
|
|
|
|
|
|
{ MODKEY|ShiftMask, XK_n, spawn, {.v = viewnote } },
|
|
|
|
|
|
|
|
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
|
|
|
|
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
|
|
|
|
{ MODKEY|ShiftMask, XK_l, spawn, {.v = lockcmd } },
|
|
|
|
{ MODKEY|ShiftMask, XK_l, spawn, {.v = lockcmd } },
|
|
|
|
{ MODKEY|ShiftMask, XK_w, spawn, {.v = acccmd } },
|
|
|
|
{ MODKEY|ShiftMask, XK_w, spawn, {.v = acccmd } },
|
|
|
|