added commands and paths related to asus_desk
This commit is contained in:
parent
cb5632ba7a
commit
47cb86d16a
35
config.def.h
35
config.def.h
|
@ -6,7 +6,7 @@ static const unsigned int snap = 32; /* snap pixel */
|
|||
static const int showbar = 1; /* 0 means no bar */
|
||||
static const int topbar = 1; /* 0 means bottom bar */
|
||||
static const int focusonwheel = 0;
|
||||
static const char *fonts[] = { "monospace:size=10" };
|
||||
static const char *fonts[] = { "Liberation Sans:style=regular:size=11:antialias=true:autohint=true", "Font Awesome 5 Free:size=10:antialias=true:autohint=true" };
|
||||
static const char dmenufont[] = "monospace:size=10";
|
||||
static const char col_gray1[] = "#222222";
|
||||
static const char col_gray2[] = "#444444";
|
||||
|
@ -20,7 +20,7 @@ static const char *colors[][3] = {
|
|||
};
|
||||
|
||||
/* tagging */
|
||||
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
|
||||
static const char *tags[] = { "", "", "", "", "", "", "7", "8", "" };
|
||||
|
||||
static const Rule rules[] = {
|
||||
/* xprop(1):
|
||||
|
@ -29,7 +29,20 @@ static const Rule rules[] = {
|
|||
*/
|
||||
/* class instance title tags mask isfloating monitor */
|
||||
{ "Gimp", NULL, NULL, 0, 1, -1 },
|
||||
{ "Firefox", NULL, NULL, 1 << 8, 0, -1 },
|
||||
{ "Pale moon", "Navigator", NULL, 2, 0, -1 },
|
||||
{ "Pale moon", "Browser", NULL, 2, 1, -1 },
|
||||
{ "Pale moon", "Places", NULL, 2, 1, -1 },
|
||||
{ "Pale moon", "Toplevel", NULL, 2, 1, -1 },
|
||||
{ "Pale moon", "Devtools", NULL, 2, 1, -1 },
|
||||
{ "Pale moon", "DTA", NULL, 2, 1, -1 },
|
||||
{ "Pale moon", "Global", NULL, 2, 1, -1 },
|
||||
{ "Chromium-browser-chromium", "chromium-browser-chromium", NULL, 6, 0, -1 },
|
||||
{ "TelegramDesktop", "telegram-desktop", "Media viewer", 1 << 2, 1, -1 },
|
||||
{ "TelegramDesktop", "telegram-desktop", NULL, 1 << 2, 0, -1 },
|
||||
{ "mpv", NULL, NULL, 1 << 3, 0, -1 },
|
||||
{ "floatalsamxr", NULL, NULL, 0, 1, -1 },
|
||||
{ "QjackCtl", "qjackctl", NULL, 0, 1, -1 },
|
||||
{ "Nextcloud", "nextcloud", NULL, 0, 1, -1 },
|
||||
};
|
||||
|
||||
#include "layouts.c"
|
||||
|
@ -70,6 +83,15 @@ static const char *upvol[] = { "amixer", "set", "Master", "2+", NULL };
|
|||
static const char *downvol[] = { "amixer", "set", "Master", "2-", NULL };
|
||||
/* alsa muting/unmuting */
|
||||
static const char *mute[] = { "amixer", "-q", "set", "Master", "toggle", NULL };
|
||||
/* screenshot tools */
|
||||
static const char *scrallcmd[] = { "/home/kurk/sources/scripts/prtscr/prtscra.sh", NULL };
|
||||
static const char *scrcurcmd[] = { "/home/kurk/sources/scripts/prtscr/prtscrcr.sh", NULL };
|
||||
static const char *scrselcmd[] = { "/home/kurk/sources/scripts/prtscr/prtscrsel.sh", NULL };
|
||||
/* browsers */
|
||||
static const char *palemooncmd[] = { "palemoon", NULL };
|
||||
static const char *chromiumcmd[] = { "chromium", NULL };
|
||||
static const char *nextcloudcmd[] = { "nextcloud", NULL };
|
||||
static const char *xfecmd[] = { "xfe", NULL };
|
||||
|
||||
static const Key keys[] = {
|
||||
/* modifier key function argument */
|
||||
|
@ -78,6 +100,13 @@ static const Key keys[] = {
|
|||
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } },
|
||||
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } },
|
||||
{ 0, XF86XK_AudioMute, spawn, {.v = mute } },
|
||||
{ MODKEY, XK_Print, spawn, {.v = scrallcmd } },
|
||||
{ MODKEY|ShiftMask, XK_Print, spawn, {.v = scrcurcmd } },
|
||||
{ MODKEY|ControlMask, XK_Print, spawn, {.v = scrselcmd } },
|
||||
{ MODKEY, XK_s, spawn, {.v = palemooncmd } },
|
||||
{ MODKEY, XK_n, spawn, {.v = nextcloudcmd } },
|
||||
{ MODKEY, XK_c, spawn, {.v = chromiumcmd } },
|
||||
{ MODKEY|ShiftMask, XK_x, spawn, {.v = xfecmd } },
|
||||
{ MODKEY, XK_b, togglebar, {0} },
|
||||
{ MODKEY, XK_j, focusstack, {.i = +1 } },
|
||||
{ MODKEY, XK_k, focusstack, {.i = -1 } },
|
||||
|
|
Loading…
Reference in New Issue