aboutsummaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h23
1 files changed, 20 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h
index 2ee8957..9ae0ca2 100644
--- a/config.def.h
+++ b/config.def.h
@@ -46,12 +46,23 @@ static const char col_cyan[] = "#005577";
// [SchemeSel] = { col_gray4, col_cyan, col_red },
// };
+laptop (
static char normbgcolor[] = "#222222";
static char normbordercolor[] = "#444444";
static char normfgcolor[] = "#bbbbbb";
static char selfgcolor[] = "#eeeeee";
static char selbordercolor[] = "#b20701";
static char selbgcolor[] = "#005577";
+)
+komputer (
+static char normbgcolor[] = "#0c0e1b";
+static char normbordercolor[] = "#0c0e1b";
+static char normfgcolor[] = "#b0b1e0";
+static char selfgcolor[] = "#0c0e1b";
+static char selbordercolor[] = "#d60047";
+static char selbgcolor[] = "#b0b1e0";
+
+)
static char *colors[][3] = {
/* fg bg border */
laptop([SchemeNorm] = { normfgcolor, normbgcolor, normbordercolor },)
@@ -120,11 +131,11 @@ static const char *dimmer[] = { "brightnessctl", "set", "5%-", NULL };
komputer(
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", selbgcolor, "-sf", col_gray4, NULL };
static const char *screencmd[] = { "xrandr", "--output", "DisplayPort-0", "--mode", "2560x1440", "-r", "240", NULL };
-static const char *altscreen[] = { "xrandr", "--output", "DisplayPort-0", "--mode", "2560x1440", "-r", "260", NULL };
+// static const char *altscreen[] = { "xrandr", "--output", "DisplayPort-0", "--mode", "2560x1440", "-r", "260", NULL };
static const char *dolphin[] = { "/usr/local/bin/dolphinfix.sh", NULL };
static const char *filebrowser[]= { "dolphin" ,NULL };
static const char *browsercmd[] = { "firefox", NULL };
-static const char *wallcmd[] = { "/bin/bash", "-c", "feh --bg-fill \"$(find /home/nikita/Walls/normal -type f ! -name \"$(basename \"$CURRENT_WALL\")\" | shuf -n 1)\"", NULL };
+static const char *wallcmd[] = { "/bin/bash", "-c", "feh --bg-fill \"$(find /home/nikita/Walls/normal -type f ! -name \"$(basename \"$CURRENT_WALL\")\" | shuf -n 1)\"", NULL };
static const char *brighter[] = { "/usr/local/bin/dwm-scripts/bright.sh", "5", NULL };
static const char *dimmer[] = { "/usr/local/bin/dwm-scripts/bright.sh", "-5", NULL };
)
@@ -142,6 +153,9 @@ static const char *nexttrack[] = { "playerctl", "next", NULL };
static const char *prevtrack[] = { "playerctl", "previous", NULL };
static const char *stoptrack[] = { "playerctl", "stop", NULL };
static const char *mutemic[] = { "pactl", "set-source-mute", "@DEFAULT_SOURCE@", "toggle", NULL };
+static const char *xsettingsd[] = { "xsettingsd", "&&", "pkill", "xsettingsd", "&&", "xsettingsd", NULL };
+static const char *resxrdb[] = { "xrdb", "-remove", NULL };
+static const char *pavu[] = { "pavucontrol", NULL };
#include "movestack.c"
@@ -149,11 +163,12 @@ static const Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_d, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_d, spawn, {.v = menualt } },
+ { MODKEY|ShiftMask, XK_x, spawn, {.v = xsettingsd } },
komputer (
{ MODKEY, XK_w, spawn, {.v = wallcmd } },
{ MODKEY, XK_e, spawn, {.v = filebrowser } },
{ MODKEY|ShiftMask, XK_e, spawn, {.v = dolphin } },
- { MODKEY|ShiftMask, XK_n, spawn, {.v = altscreen } },
+ // { MODKEY|ShiftMask, XK_n, spawn, {.v = altscreen } },
) laptop(
{ MODKEY, XK_e, spawn, {.v = thunar } },
)
@@ -167,7 +182,9 @@ static const Key keys[] = {
{ MODKEY|Mod1Mask, XK_l, spawn, {.v = lockcmd } },
{ MODKEY|Mod1Mask, XK_s, spawn, {.v = screensht } },
{ MODKEY|ShiftMask, XK_s, spawn, {.v = scripts } },
+ { MODKEY|ShiftMask, XK_p, spawn, {.v = pavu } },
{ MODKEY, XK_n, spawn, {.v = screencmd } },
+ { MODKEY, XK_c, spawn, {.v = resxrdb } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },