aboutsummaryrefslogtreecommitdiff
path: root/dwm/chadwm/config.def.h
diff options
context:
space:
mode:
authorAnInternetTroll <lucafulger@gmail.com>2022-05-07 21:18:55 +0000
committerAnInternetTroll <lucafulger@gmail.com>2022-05-07 21:18:55 +0000
commitfb65ac6332271a9101e01741905218ab5cc92efc (patch)
tree62e51e48222749d7a1f11bfff56ffb8e64cd9e30 /dwm/chadwm/config.def.h
parente54014dffba9ca9db6f9088017f18fbf4fb02d6e (diff)
downloaddotfiles-fb65ac6332271a9101e01741905218ab5cc92efc.tar
dotfiles-fb65ac6332271a9101e01741905218ab5cc92efc.tar.gz
dotfiles-fb65ac6332271a9101e01741905218ab5cc92efc.tar.bz2
dotfiles-fb65ac6332271a9101e01741905218ab5cc92efc.tar.lz
dotfiles-fb65ac6332271a9101e01741905218ab5cc92efc.tar.xz
dotfiles-fb65ac6332271a9101e01741905218ab5cc92efc.tar.zst
dotfiles-fb65ac6332271a9101e01741905218ab5cc92efc.zip
General updates
Diffstat (limited to '')
-rw-r--r--dwm/chadwm/config.def.h65
1 files changed, 34 insertions, 31 deletions
diff --git a/dwm/chadwm/config.def.h b/dwm/chadwm/config.def.h
index b49ef88..d69d375 100644
--- a/dwm/chadwm/config.def.h
+++ b/dwm/chadwm/config.def.h
@@ -34,10 +34,12 @@ static const int scalepreview = 4;
static int tag_preview = 1; /* 1 means enable, 0 is off */
static const char *fonts[] = {
- "JetBrainsMono Nerd Font:style:medium:size=10",
- "Material Design Icons-Regular:size=10",
+ "JetBrains Mono:medium:size=12",
+ "JetBrainsMono Nerd Font:style:medium:size=12",
+ "Material Design Icons-Regular:size=12",
+ "Material Design Icons:style=Regular:size=12"
};
-static const char dmenufont[] = "monospace:size=10";
+static const char dmenufont[] = "monospace:size=12";
static const int colorfultag = 1; /* 0 means use SchemeSel for selected non vacant tag */
// theme
@@ -71,10 +73,11 @@ static const unsigned int ulinevoffset =
static const int ulineall = 0; /* 1 to show underline on all tags, 0 for just the active ones */
static const Rule rules[] = {
- /* xprop(1):
- * WM_CLASS(STRING) = instance, class
- * WM_NAME(STRING) = title
- */
+ /**
+ * xprop(1):
+ * WM_CLASS(STRING) = instance, class
+ * WM_NAME(STRING) = title
+ */
/* class instance title tags mask iscentered isfloating monitor */
{"Gimp", NULL, NULL, 0, 0, 1, -1},
{"Firefox", NULL, NULL, 1 << 8, 0, 0, -1},
@@ -105,19 +108,19 @@ static const Layout layouts[] = {
/* key definitions */
#define MODKEY Mod4Mask
#define TAGKEYS(KEY, TAG) \
- {MODKEY, KEY, view, {.ui = 1 << TAG}}, \
- {MODKEY | ControlMask, KEY, toggleview, {.ui = 1 << TAG}}, \
- {MODKEY | ShiftMask, KEY, tag, {.ui = 1 << TAG}}, \
- {MODKEY | ControlMask | ShiftMask, KEY, toggletag, {.ui = 1 << TAG}},
+ {MODKEY, KEY, view, {.ui = 1 << TAG}}, \
+ {MODKEY | ControlMask, KEY, toggleview, {.ui = 1 << TAG}}, \
+ {MODKEY | ShiftMask, KEY, tag, {.ui = 1 << TAG}}, \
+ {MODKEY | ControlMask | ShiftMask, KEY, toggletag, {.ui = 1 << TAG}},
/* helper for spawning shell commands in the pre dwm-5.0 fashion */
#define SHCMD(cmd) \
- { \
- .v = (const char *[]) \
- { \
- "/bin/sh", "-c", cmd, NULL \
- } \
- }
+ { \
+ .v = (const char *[]) \
+ { \
+ "/bin/sh", "-c", cmd, NULL \
+ } \
+ }
/* commands */
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
@@ -137,7 +140,7 @@ static const char *keyboard_brightness_down[] = {"xbacklight", "-ctrl", "asus::k
static const char *player_toggle[] = {"playerctl", "play-pause", NULL};
static const char *player_next[] = {"playerctl", "next", NULL};
static const char *player_previous[] = {"playerctl", "previous", NULL};
-static const char *screen_lock[] = {"light-locker-command", "-l", NULL};
+static const char *screen_lock[] = {"dm-tool", "lock", NULL};
static Key keys[] = {
/* modifier key function argument */
@@ -146,7 +149,7 @@ static Key keys[] = {
/*
{MODKEY | ControlMask, XK_u, spawn, SHCMD("maim | xclip -selection clipboard -t image/png")},
{MODKEY, XK_u, spawn, SHCMD("maim --select | xclip -selection clipboard -t image/png")},
- */
+ */
{0, XF86XK_MonBrightnessDown, spawn, {.v = xd}},
{0, XF86XK_MonBrightnessUp, spawn, {.v = xi}},
{0, XF86XK_KbdBrightnessUp, spawn, {.v = keyboard_brightness_up}},
@@ -229,8 +232,8 @@ static Key keys[] = {
{MODKEY | ShiftMask, XK_w, setborderpx, {.i = default_border}},
TAGKEYS(XK_1, 0) TAGKEYS(XK_2, 1) TAGKEYS(XK_3, 2) TAGKEYS(XK_4, 3) TAGKEYS(XK_5, 4)
- TAGKEYS(XK_6, 5) TAGKEYS(XK_7, 6) TAGKEYS(XK_8, 7)
- TAGKEYS(XK_9, 8){MODKEY | ControlMask, XK_q, quit, {0}},
+ TAGKEYS(XK_6, 5) TAGKEYS(XK_7, 6) TAGKEYS(XK_8, 7)
+ TAGKEYS(XK_9, 8){MODKEY | ControlMask, XK_q, quit, {0}},
{MODKEY | ShiftMask, XK_r, quit, {1}},
{MODKEY, XK_e, hidewin, {0}},
{MODKEY | ShiftMask, XK_e, restorewin, {0}},
@@ -250,19 +253,19 @@ static Button buttons[] = {
/* { ClkClientWin, MODKEY, Button1, movemouse, {0} }, */
/* placemouse options, choose which feels more natural:
- * 0 - tiled position is relative to mouse cursor
- * 1 - tiled postiion is relative to window center
- * 2 - mouse pointer warps to window center
- *
- * The moveorplace uses movemouse or placemouse depending on the floating state
- * of the selected client. Set up individual keybindings for the two if you want
- * to control these separately (i.e. to retain the feature to move a tiled window
- * into a floating position).
- */
+ * 0 - tiled position is relative to mouse cursor
+ * 1 - tiled postiion is relative to window center
+ * 2 - mouse pointer warps to window center
+ *
+ * The moveorplace uses movemouse or placemouse depending on the floating state
+ * of the selected client. Set up individual keybindings for the two if you want
+ * to control these separately (i.e. to retain the feature to move a tiled window
+ * into a floating position).
+ */
{ClkClientWin, MODKEY, Button1, moveorplace, {.i = 0}},
{ClkClientWin, MODKEY, Button2, togglefloating, {0}},
{ClkClientWin, MODKEY, Button3, resizemouse, {0}},
- {ClkClientWin, ControlMask, Button1, dragmfact, {0}},
+ /*{ClkClientWin, ControlMask, Button1, dragmfact, {0}},*/
{ClkClientWin, ControlMask, Button3, dragcfact, {0}},
{ClkTagBar, 0, Button1, view, {0}},
{ClkTagBar, 0, Button3, toggleview, {0}},