summaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.h')
-rw-r--r--config.h58
1 files changed, 46 insertions, 12 deletions
diff --git a/config.h b/config.h
index 6788084..7e9c281 100644
--- a/config.h
+++ b/config.h
@@ -1,7 +1,7 @@
/* See LICENSE file for copyright and license details. */
/* appearance */
-static const unsigned int borderpx = 3; /* border pixel of windows */
+static const unsigned int borderpx = 2; /* border pixel of windows */
static const unsigned int gappx = 10; /* gap pixel between windows */
static const unsigned int snap = 32; /* snap pixel */
static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */
@@ -10,18 +10,26 @@ static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display
static const int showsystray = 1; /* 0 means no systray */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
-static const char *fonts[] = { "TerminessTTF Nerd Font Mono:size=19", "monospace:size=15" };
+static const char *fonts[] = { "TerminessTTF Nerd Font Mono:size=17", "monospace:size=15" };
static const char dmenufont[] = "monospace:size=15";
-static const char col_norm_fg[] = "#ebdbb2";
-static const char col_norm_bg[] = "#282828";
+static const char col_norm_fg[] = "#5f5f54";
+static const char col_norm_bg[] = "#111416";
static const char col_norm_brd[] = "#282828";
-static const char col_sel_fg[] = "#282828";
-static const char col_sel_bg[] = "#d5c4a1";
+static const char col_sel_fg[] = "#eeeeec";
+static const char col_sel_bg[] = "#111416";
static const char col_sel_brd[] = "#a89984";
static const char *colors[][3] = {
- /* fg bg border */
- [SchemeNorm] = { col_norm_fg, col_norm_bg, col_norm_brd },
- [SchemeSel] = { col_sel_fg, col_sel_bg, col_sel_brd },
+ /* fg bg border */
+ [SchemeNorm] = { col_norm_fg, col_norm_bg, col_norm_brd },
+ [SchemeSel] = { col_sel_fg, col_sel_bg, col_sel_brd },
+
+ [SchemeStatus] = { col_sel_fg, col_sel_bg, "#000000" }, // Statusbar right {text,background,not used but cannot be empty}
+
+ [SchemeTagsSel] = { col_sel_fg, col_sel_bg, "#000000" }, // Tagbar left selected {text,background,not used but cannot be empty}
+ [SchemeTagsNorm] = { col_norm_fg, col_norm_bg, "#000000" }, // Tagbar left unselected {text,background,not used but cannot be empty}
+
+ [SchemeInfoSel] = { col_sel_fg, col_sel_bg, "#000000" }, // infobar middle selected {text,background,not used but cannot be empty}
+ [SchemeInfoNorm] = { col_sel_fg, col_sel_bg, "#000000" }, // infobar middle unselected {text,background,not used but cannot be empty}
};
typedef struct {
@@ -47,6 +55,7 @@ static const Rule rules[] = {
/* class instance title tags mask isfloating monitor */
{ "Gimp", NULL, NULL, 0, 1, -1 },
{ "Pcmanfm", NULL, NULL, 0, 1, -1 },
+ { NULL, NULL, "OpenGL", 0, 1, -1 },
{ NULL, "spterm", NULL, SPTAG(0), 1, -1 },
{ NULL, "telegram", NULL, SPTAG(1), 1, -1 },
};
@@ -87,9 +96,6 @@ static const char *termcmd[] = { "st", NULL };
#include "movestack.c"
static Key keys[] = {
/* modifier key function argument */
- // These two shortcuts are handled by sxhkd
- // { MODKEY, XK_p, spawn, {.v = dmenucmd } },
- // { MODKEY, XK_Return, spawn, SHCMD("$TERMINAL") },
{ MODKEY, XK_slash, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
@@ -127,6 +133,34 @@ static Key keys[] = {
TAGKEYS( XK_9, 8)
{ MODKEY|ShiftMask, XK_r, self_restart, {0} },
{ MODKEY|ShiftMask, XK_e, quit, {0} },
+
+ { MODKEY, XK_w, spawn, SHCMD("$BROWSER") },
+ { MODKEY, XK_p, spawn, SHCMD("dmenu-desktop") },
+ { MODKEY|ShiftMask, XK_p, spawn, SHCMD("passmenu -i -l 5") },
+ { MODKEY, XK_b, spawn, SHCMD("pcmanfm") },
+ { MODKEY|ShiftMask, XK_b, spawn, SHCMD("bluecontrol") },
+ { MODKEY, XK_Return, spawn, SHCMD("x-terminal-emulator") },
+ { MODKEY, XK_Tab, spawn, SHCMD("x-terminal-emulator -e htop") },
+ { MODKEY|ShiftMask, XK_t, spawn, SHCMD("x-terminal-emulator -e transopen") },
+ { MODKEY, XK_m, spawn, SHCMD("x-terminal-emulator -e music localhost") },
+ { MODKEY|ShiftMask, XK_m, spawn, SHCMD("x-terminal-emulator -e music") },
+
+ { 0, XF86XK_AudioMute, spawn, SHCMD("pamixer -t; pkill -RTMIN+9 dwmblocks") },
+ { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pamixer --allow-boost -d 5; pkill -RTMIN+9 dwmblocks") },
+ { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pamixer --allow-boost -i 5; pkill -RTMIN+9 dwmblocks") },
+ { 0, XF86XK_TouchpadOff, spawn, SHCMD("notify-send 'Touchpad turned off'") },
+ { 0, XF86XK_TouchpadOn, spawn, SHCMD("notify-send 'Touchpad turned on'") },
+ { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("brightnessctl set 5%-") },
+ { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("brightnessctl set 5%+") },
+
+ { 0, XK_Print, spawn, SHCMD("screenshot area to clip") },
+ { 0|ShiftMask, XK_Print, spawn, SHCMD("screenshot area to file") },
+
+ { 0|ControlMask, XK_Print, spawn, SHCMD("screenshot window to clip") },
+ { 0|ControlMask|ShiftMask, XK_Print, spawn, SHCMD("screenshot window to file") },
+
+ { MODKEY, XK_Print, spawn, SHCMD("screenshot screen to clip") },
+ { MODKEY|ShiftMask, XK_Print, spawn, SHCMD("screenshot screen to file") },
};
/* button definitions */