diff options
| author | Sebastiano Tronto <sebastiano@tronto.net> | 2026-05-08 23:55:30 +0200 |
|---|---|---|
| committer | Sebastiano Tronto <sebastiano@tronto.net> | 2026-05-08 23:55:30 +0200 |
| commit | c4d0e3de7ad04114797abb14368e4a6f8da04a60 (patch) | |
| tree | 5ef72a5dfb5f6b1b15c1c3ac3e2e876bb9398ed2 /.config/dwm | |
| parent | 453436ee53cd9935473cf1944dd072281d69a99f (diff) | |
| download | config-c4d0e3de7ad04114797abb14368e4a6f8da04a60.tar.gz config-c4d0e3de7ad04114797abb14368e4a6f8da04a60.zip | |
Updates from alpine
Diffstat (limited to '.config/dwm')
| -rw-r--r-- | .config/dwm/config.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/.config/dwm/config.h b/.config/dwm/config.h index 1a98237..91134c8 100644 --- a/.config/dwm/config.h +++ b/.config/dwm/config.h | |||
| @@ -5,8 +5,8 @@ static const unsigned int borderpx = 3; /* border pixel of windows */ | |||
| 5 | static const unsigned int snap = 32; /* snap pixel */ | 5 | static const unsigned int snap = 32; /* snap pixel */ |
| 6 | static const int showbar = 1; /* 0 means no bar */ | 6 | static const int showbar = 1; /* 0 means no bar */ |
| 7 | static const int topbar = 1; /* 0 means bottom bar */ | 7 | static const int topbar = 1; /* 0 means bottom bar */ |
| 8 | static const char *fonts[] = { "monospace:size=18" }; | 8 | static const char *fonts[] = { "monospace:size=14" }; |
| 9 | static const char dmenufont[] = "monospace:size=18"; | 9 | static const char dmenufont[] = "monospace:size=14"; |
| 10 | 10 | ||
| 11 | /* Dark scheme: */ | 11 | /* Dark scheme: */ |
| 12 | /* | 12 | /* |
| @@ -72,15 +72,12 @@ static const Layout layouts[] = { | |||
| 72 | /* commands */ | 72 | /* commands */ |
| 73 | static const char *termcmd[] = { "st", NULL }; | 73 | static const char *termcmd[] = { "st", NULL }; |
| 74 | static char dmenumon[2] = "0"; /* used in dmenucmd, manipulated in spawn() */ | 74 | static char dmenumon[2] = "0"; /* used in dmenucmd, manipulated in spawn() */ |
| 75 | static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, NULL }; | ||
| 76 | /* Colors in dmenu config.h built from source | ||
| 77 | static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, | 75 | static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, |
| 78 | "-fn", dmenufont, | 76 | "-fn", dmenufont, |
| 79 | "-nb", col_gray1, | 77 | "-nb", col_gray1, |
| 80 | "-nf", col_gray3, | 78 | "-nf", col_gray3, |
| 81 | "-sb", col_cyan, | 79 | "-sb", col_cyan, |
| 82 | "-sf", col_gray4, NULL }; | 80 | "-sf", col_gray4, NULL }; |
| 83 | */ | ||
| 84 | 81 | ||
| 85 | /* Necessary library for some multimedia key names */ | 82 | /* Necessary library for some multimedia key names */ |
| 86 | #include <X11/XF86keysym.h> | 83 | #include <X11/XF86keysym.h> |
| @@ -179,7 +176,6 @@ static Key keys[] = { | |||
| 179 | { MODKEY|ShiftMask, XK_Return, spawn, SHCMD("terminal") }, | 176 | { MODKEY|ShiftMask, XK_Return, spawn, SHCMD("terminal") }, |
| 180 | { MODKEY|ShiftMask, XK_backslash, spawn, SHCMD("popup-terminal") }, | 177 | { MODKEY|ShiftMask, XK_backslash, spawn, SHCMD("popup-terminal") }, |
| 181 | { MODKEY|ShiftMask, XK_f, spawn, SHCMD("firefox") }, | 178 | { MODKEY|ShiftMask, XK_f, spawn, SHCMD("firefox") }, |
| 182 | { MODKEY|ShiftMask, XK_g, spawn, SHCMD("xedit") }, | ||
| 183 | { MODKEY|ShiftMask, XK_j, spawn, SHCMD("terminal bc -q $HOME/box/bc.library") }, | 179 | { MODKEY|ShiftMask, XK_j, spawn, SHCMD("terminal bc -q $HOME/box/bc.library") }, |
| 184 | { MODKEY, XK_y, spawn, SHCMD("clip") }, | 180 | { MODKEY, XK_y, spawn, SHCMD("clip") }, |
| 185 | { MODKEY, XK_d, spawn, SHCMD("popup-cal12") }, | 181 | { MODKEY, XK_d, spawn, SHCMD("popup-cal12") }, |
| @@ -195,8 +191,8 @@ static Key keys[] = { | |||
| 195 | 191 | ||
| 196 | /* Multimedia */ | 192 | /* Multimedia */ |
| 197 | { 0, XK_Print, spawn, SHCMD("dmenu-screenshot") }, | 193 | { 0, XK_Print, spawn, SHCMD("dmenu-screenshot") }, |
| 198 | { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 5") }, | 194 | { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("brightnessctl set 5%+") }, |
| 199 | { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 5") }, | 195 | { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("brightnessctl set 5%-") }, |
| 200 | { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pulsemixer --change-volume +5 && xroot-update") }, | 196 | { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pulsemixer --change-volume +5 && xroot-update") }, |
| 201 | { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pulsemixer --change-volume -5 && xroot-update") }, | 197 | { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pulsemixer --change-volume -5 && xroot-update") }, |
| 202 | { 0, XF86XK_AudioMute, spawn, SHCMD("pulsemixer --toggle-mute && xroot-update") }, | 198 | { 0, XF86XK_AudioMute, spawn, SHCMD("pulsemixer --toggle-mute && xroot-update") }, |
