From 4e329f2d149d81902eaba00b2fcb41fe9dfe0f75 Mon Sep 17 00:00:00 2001 From: stkhan Date: Wed, 21 Apr 2021 16:05:29 +0000 Subject: Added documentation --- README.md | 22 ++++++++++++++++++++++ dwm-6.2/config.h | 10 +++++----- dwm-6.2/dwm | Bin 66968 -> 66864 bytes dwm-6.2/dwm.o | Bin 60304 -> 60056 bytes dwm-6.2/themes/green | 4 ++-- install.sh | 2 +- 6 files changed, 30 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index e4217cf..a758a20 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,28 @@ Note that if you want to change anything in the dwm config, do it in dwm/themes/ - Green +## Shortcuts + +### Applications + +Alt+Shift+F = Qutebrowser +Alt+D = dmenu +Alt+Enter = st + +### Other + +Alt+Shift+B = Brightness goes up +Alt+Shift+L = Brightness goes down +Alt+Shift+U = Volume goes up +Alt+Shift+D = Volume goes down +Alt+Shift+M = Toggles mute + +### Exiting + +Alt+x = Closes app +Alt+Shift+Q = Quits dwm + + ## Credits ### st diff --git a/dwm-6.2/config.h b/dwm-6.2/config.h index 7125782..bdb4ba7 100644 --- a/dwm-6.2/config.h +++ b/dwm-6.2/config.h @@ -14,7 +14,7 @@ static const char col_gray1[] = "#222222"; static const char col_gray2[] = "#444444"; static const char col_gray3[] = "#bbbbbb"; static const char col_gray4[] = "#eeeeee"; -static const char col_cyan[] = "#0a0063"; +static const char col_cyan[] = "#00731f"; static const char *colors[][3] = { /* fg bg border */ [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, @@ -71,9 +71,9 @@ static Key keys[] = { { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, - { MODKEY, XK_i, incnmaster, {.i = +1 } }, +/* { MODKEY, XK_i, incnmaster, {.i = +1 } }, { MODKEY, XK_d, incnmaster, {.i = -1 } }, - { MODKEY, XK_h, setmfact, {.f = -0.05} }, +*/ { MODKEY, XK_h, setmfact, {.f = -0.05} }, { MODKEY, XK_l, setmfact, {.f = +0.05} }, { MODKEY|ShiftMask, XK_Return, zoom, {0} }, { MODKEY, XK_Tab, view, {0} }, @@ -94,9 +94,9 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_equal, setgaps, {.i = 0 } }, { MODKEY|ShiftMask, XK_f, spawn, SHCMD("qutebrowser") }, { MODKEY|ShiftMask, XK_h, spawn, SHCMD("st htop") }, - { MODKEY|ShiftMask, XK_b, spawn, SHCMD("~/.local/bin/brighter") }, - { MODKEY|ShiftMask, XK_l, spawn, SHCMD("~/.local/bin/darker") }, { MODKEY|ShiftMask, XK_u, spawn, SHCMD("~/.local/bin/vol_up") }, + { MODKEY|ShiftMask, XK_l, spawn, SHCMD("~/.local/bin/darker") }, + { MODKEY|ShiftMask, XK_b, spawn, SHCMD("~/.local/bin/brighter") }, { MODKEY|ShiftMask, XK_d, spawn, SHCMD("~/.local/bin/vol_down") }, { MODKEY|ShiftMask, XK_m, spawn, SHCMD("~/.local/bin/mute") }, TAGKEYS( XK_1, 0) diff --git a/dwm-6.2/dwm b/dwm-6.2/dwm index bee20d3..6cae4fc 100755 Binary files a/dwm-6.2/dwm and b/dwm-6.2/dwm differ diff --git a/dwm-6.2/dwm.o b/dwm-6.2/dwm.o index f654e85..b2c1f7d 100644 Binary files a/dwm-6.2/dwm.o and b/dwm-6.2/dwm.o differ diff --git a/dwm-6.2/themes/green b/dwm-6.2/themes/green index e70b91d..bdb4ba7 100644 --- a/dwm-6.2/themes/green +++ b/dwm-6.2/themes/green @@ -95,8 +95,8 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_f, spawn, SHCMD("qutebrowser") }, { MODKEY|ShiftMask, XK_h, spawn, SHCMD("st htop") }, { MODKEY|ShiftMask, XK_u, spawn, SHCMD("~/.local/bin/vol_up") }, - { MODKEY|ShiftMask, XK_d, spawn, SHCMD("~/.local/bin/darker") }, - { MODKEY|ShiftMask, XK_l, spawn, SHCMD("~/.local/bin/brighter") }, + { MODKEY|ShiftMask, XK_l, spawn, SHCMD("~/.local/bin/darker") }, + { MODKEY|ShiftMask, XK_b, spawn, SHCMD("~/.local/bin/brighter") }, { MODKEY|ShiftMask, XK_d, spawn, SHCMD("~/.local/bin/vol_down") }, { MODKEY|ShiftMask, XK_m, spawn, SHCMD("~/.local/bin/mute") }, TAGKEYS( XK_1, 0) diff --git a/install.sh b/install.sh index a282981..e71ac8c 100755 --- a/install.sh +++ b/install.sh @@ -5,7 +5,7 @@ dwm="dwm-6.2" dmenu="./dmenu-5.0" st="./st" dwmblocks="./dwmblocks" -theme='blue' +theme='green' echo "Welcome to the sarc installer!" rm log.txt sudo pacman -Sy --needed adobe-source-code-pro-fonts xorg xorg-xinit picom feh dunst pulseaudio -- cgit v1.2.3