key commands replaced with sde-ctl
This commit is contained in:
parent
e41604e361
commit
8d3733499f
|
@ -100,15 +100,15 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont,
|
||||||
static const char *termcmd[] = { TERMINAL, NULL };
|
static const char *termcmd[] = { TERMINAL, NULL };
|
||||||
static const char *poff[] = {"poff", NULL };
|
static const char *poff[] = {"poff", NULL };
|
||||||
static const char *muusb[] = {"muusb", NULL };
|
static const char *muusb[] = {"muusb", NULL };
|
||||||
static const char *waterfox[] = { "waterfox", NULL };
|
static const char *web[] = {"sde-ctl","web",NULL };
|
||||||
static const char *volup[] = {"amixer","sset","Master","5%+",NULL };
|
static const char *volup[] = {"sde-ctl","vol","up",NULL };
|
||||||
static const char *voldown[] = {"amixer","sset","Master","5%-",NULL };
|
static const char *voldn[] = {"sde-ctl","vol","down",NULL };
|
||||||
static const char *volmute[] = {"amixer","sset","Master","toggle",NULL };
|
static const char *volmt[] = {"sde-ctl","vol","mute",NULL };
|
||||||
//static const char *lightmore[] = {"sudo","bcklght","+",NULL };
|
static const char *lghtm[] = {"sde-ctl","light","more",NULL };
|
||||||
//static const char *lightless[] = {"sudo","bcklght","-",NULL };
|
static const char *lghtl[] = {"sde-ctl","light","less",NULL };
|
||||||
static const char *cmusnext[] = {"cmus-remote", "-n", NULL};
|
static const char *munext[] = {"sde-ctl","mu","next", NULL};
|
||||||
static const char *cmusprev[] = {"cmus-remote", "-r", NULL};
|
static const char *muprev[] = {"sde-ctl","mu","prev", NULL};
|
||||||
static const char *cmusplay[] = {"cmus-remote", "-u", NULL};
|
static const char *muplay[] = {"sde-ctl","mu","play", NULL};
|
||||||
char *scrotshot[] = {"scrotshot", NULL};
|
char *scrotshot[] = {"scrotshot", NULL};
|
||||||
|
|
||||||
static Key keys[] = {
|
static Key keys[] = {
|
||||||
|
@ -141,17 +141,17 @@ static Key keys[] = {
|
||||||
/* custom commands */
|
/* custom commands */
|
||||||
{ MODKEY, XK_o, spawn, {.v = poff }},
|
{ MODKEY, XK_o, spawn, {.v = poff }},
|
||||||
{ MODKEY, XK_u, spawn, {.v = muusb }},
|
{ MODKEY, XK_u, spawn, {.v = muusb }},
|
||||||
{ MODKEY, XK_w, spawn, {.v = waterfox }},
|
{ MODKEY, XK_w, spawn, {.v = web }},
|
||||||
{ MODKEY, XK_i, spawn, {.v = scrotshot }},
|
{ MODKEY, XK_i, spawn, {.v = scrotshot }},
|
||||||
{ 0, Print, spawn, {.v = scrotshot }},
|
{ 0, Print, spawn, {.v = scrotshot }},
|
||||||
// { 0, XF86MonBrightnessUp, spawn, {.v = lightmore }},
|
{ 0, XF86MonBrightnessUp, spawn, {.v = lghtm }},
|
||||||
// { 0, XF86MonBrightnessDown,spawn, {.v = lightless }},
|
{ 0, XF86MonBrightnessDown,spawn, {.v = lghtl }},
|
||||||
{ 0, XF86AudioMute, spawn, {.v = volmute }},
|
{ 0, XF86AudioMute, spawn, {.v = volmt }},
|
||||||
{ 0, XF86AudioRaiseVolume, spawn, {.v = volup }},
|
{ 0, XF86AudioRaiseVolume, spawn, {.v = volup }},
|
||||||
{ 0, XF86AudioLowerVolume, spawn, {.v = voldown }},
|
{ 0, XF86AudioLowerVolume, spawn, {.v = voldn }},
|
||||||
{ 0, XF86AudioNext, spawn, {.v = cmusnext }},
|
{ 0, XF86AudioNext, spawn, {.v = munext }},
|
||||||
{ 0, XF86AudioPrev, spawn, {.v = cmusprev }},
|
{ 0, XF86AudioPrev, spawn, {.v = muprev }},
|
||||||
{ 0, XF86AudioPlay, spawn, {.v = cmusplay }},
|
{ 0, XF86AudioPlay, spawn, {.v = muplay }},
|
||||||
TAGKEYS( TAGS1, 0)
|
TAGKEYS( TAGS1, 0)
|
||||||
TAGKEYS( TAGS2, 1)
|
TAGKEYS( TAGS2, 1)
|
||||||
TAGKEYS( TAGS3, 2)
|
TAGKEYS( TAGS3, 2)
|
||||||
|
|
Loading…
Reference in New Issue