Compare commits
11 Commits
abab8fa1e2
...
cd33b0908e
Author | SHA1 | Date |
---|---|---|
celso | cd33b0908e | |
celso | d24e4a3cdf | |
celso | 038d53ad35 | |
celso | 82962c41fd | |
celso | 37e724cf20 | |
celso | 9e50a01e47 | |
celso | f166e03f4a | |
celso | e62c05ccd5 | |
celso | 0710bccb17 | |
celso | 09a2ba578b | |
celso | b0ea0b7f71 |
52
config.def.h
52
config.def.h
|
@ -6,8 +6,8 @@ static const unsigned int snap = 32; /* snap pixel */
|
||||||
static const int showbar = 1; /* 0 means no bar */
|
static const int showbar = 1; /* 0 means no bar */
|
||||||
static const int topbar = 1; /* 0 means bottom bar */
|
static const int topbar = 1; /* 0 means bottom bar */
|
||||||
static const int focusonwheel = 0;
|
static const int focusonwheel = 0;
|
||||||
static const char *fonts[] = { "monospace:size=10" };
|
static const char *fonts[] = { "Liberation Sans:style=regular:size=14:antialias=true:autohint=true", "Font Awesome 6 Free Regular:size=14:antialias=true:autohint=true", "Font Awesome 6 Brands:size=14:antialias=true:autohint=true", "Font Awesome 6 Free Solid:size=14:antialias=true:autohint=true" };
|
||||||
static const char dmenufont[] = "monospace:size=10";
|
static const char dmenufont[] = "Liberation Mono:size=14";
|
||||||
static const char col_gray1[] = "#222222";
|
static const char col_gray1[] = "#222222";
|
||||||
static const char col_gray2[] = "#444444";
|
static const char col_gray2[] = "#444444";
|
||||||
static const char col_gray3[] = "#bbbbbb";
|
static const char col_gray3[] = "#bbbbbb";
|
||||||
|
@ -20,7 +20,7 @@ static const char *colors[][3] = {
|
||||||
};
|
};
|
||||||
|
|
||||||
/* tagging */
|
/* tagging */
|
||||||
static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" };
|
static const char *tags[] = { "", "", "", "", "", "", "7", "8", "" };
|
||||||
|
|
||||||
static const Rule rules[] = {
|
static const Rule rules[] = {
|
||||||
/* xprop(1):
|
/* xprop(1):
|
||||||
|
@ -29,7 +29,21 @@ static const Rule rules[] = {
|
||||||
*/
|
*/
|
||||||
/* class instance title tags mask isfloating monitor */
|
/* class instance title tags mask isfloating monitor */
|
||||||
{ "Gimp", NULL, NULL, 0, 1, -1 },
|
{ "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, 1<<5, 0, -1 },
|
||||||
|
{ "TelegramDesktop", "telegram-desktop", "Media viewer", 0, 1, -1 },
|
||||||
|
{ "TelegramDesktop", "telegram-desktop", NULL, 4, 0, -1 },
|
||||||
|
{ "keepassxc", "KeePassXC", NULL, 0, 1, -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"
|
#include "layouts.c"
|
||||||
|
@ -62,14 +76,24 @@ static const Layout layouts[] = {
|
||||||
|
|
||||||
/* commands */
|
/* commands */
|
||||||
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
||||||
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
|
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
|
||||||
static const char *termcmd[] = { "st", NULL };
|
static const char *termcmd[] = { "st", NULL };
|
||||||
/* alsa volume control */
|
/* alsa volume control */
|
||||||
static const char *alsacmd[] = { "st", "-c", "floatalsamxr", "-e", "alsamixer", NULL };
|
static const char *alsacmd[] = { "st", "-c", "floatalsamxr", "-e", "alsamixer", NULL };
|
||||||
static const char *upvol[] = { "amixer", "set", "Master", "2+", NULL };
|
static const char *upvol[] = { "amixer", "set", "Master", "2+", NULL };
|
||||||
static const char *downvol[] = { "amixer", "set", "Master", "2-", NULL };
|
static const char *downvol[] = { "amixer", "set", "Master", "2-", NULL };
|
||||||
/* alsa muting/unmuting */
|
/* alsa muting/unmuting */
|
||||||
static const char *mute[] = { "amixer", "-q", "set", "Master", "toggle", NULL };
|
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 char *keepassxccmd[] = { "keepassxc", NULL };
|
||||||
|
|
||||||
static const Key keys[] = {
|
static const Key keys[] = {
|
||||||
/* modifier key function argument */
|
/* modifier key function argument */
|
||||||
|
@ -78,6 +102,14 @@ static const Key keys[] = {
|
||||||
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } },
|
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } },
|
||||||
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } },
|
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } },
|
||||||
{ 0, XF86XK_AudioMute, spawn, {.v = mute } },
|
{ 0, XF86XK_AudioMute, spawn, {.v = mute } },
|
||||||
|
{ 0, XK_Print, spawn, {.v = scrallcmd } },
|
||||||
|
{ ShiftMask, XK_Print, spawn, {.v = scrcurcmd } },
|
||||||
|
{ 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_x, spawn, {.v = keepassxccmd } },
|
||||||
{ MODKEY, XK_b, togglebar, {0} },
|
{ MODKEY, XK_b, togglebar, {0} },
|
||||||
{ MODKEY, XK_j, focusstack, {.i = +1 } },
|
{ MODKEY, XK_j, focusstack, {.i = +1 } },
|
||||||
{ MODKEY, XK_k, focusstack, {.i = -1 } },
|
{ MODKEY, XK_k, focusstack, {.i = -1 } },
|
||||||
|
|
|
@ -4,11 +4,11 @@ VERSION = 6.5
|
||||||
# Customize below to fit your system
|
# Customize below to fit your system
|
||||||
|
|
||||||
# paths
|
# paths
|
||||||
PREFIX = /usr/local
|
PREFIX = /usr
|
||||||
MANPREFIX = ${PREFIX}/share/man
|
MANPREFIX = ${PREFIX}/share/man
|
||||||
|
|
||||||
X11INC = /usr/X11R6/include
|
X11INC = /usr/include/X11
|
||||||
X11LIB = /usr/X11R6/lib
|
X11LIB = /usr/lib64
|
||||||
|
|
||||||
# Xinerama, comment if you don't want it
|
# Xinerama, comment if you don't want it
|
||||||
XINERAMALIBS = -lXinerama
|
XINERAMALIBS = -lXinerama
|
||||||
|
|
Loading…
Reference in New Issue