diff options
author | Biswakalyan Bhuyan <biswa@surgot.in> | 2022-03-02 19:42:22 +0530 |
---|---|---|
committer | Biswakalyan Bhuyan <biswa@surgot.in> | 2022-03-02 19:42:22 +0530 |
commit | 23546e1f631a17608b97b616cda49d51c9c4eb5c (patch) | |
tree | e542532ab90d02c36f76649f24c4234f26c7085f | |
parent | 1fa4de24c6ad697361b89c5aef12f516e1d2ec45 (diff) | |
download | dwm-23546e1f631a17608b97b616cda49d51c9c4eb5c.tar.gz dwm-23546e1f631a17608b97b616cda49d51c9c4eb5c.tar.bz2 dwm-23546e1f631a17608b97b616cda49d51c9c4eb5c.zip |
modification
-rw-r--r-- | config.h | 100 | ||||
-rw-r--r-- | drw.c | 13 | ||||
-rwxr-xr-x | dwm | bin | 82520 -> 82520 bytes | |||
-rw-r--r-- | dwm.c | 14 | ||||
-rw-r--r-- | dwm.o | bin | 81024 -> 81024 bytes | |||
-rw-r--r-- | transient.c | 12 | ||||
-rw-r--r-- | util.c | 14 | ||||
-rw-r--r-- | vanitygaps.c | 12 |
8 files changed, 53 insertions, 112 deletions
@@ -22,8 +22,8 @@ static char normbgcolor[] = "#080808"; static char normbordercolor[] = "#1a1a1a"; static char normfgcolor[] = "#e5e5e5"; static char selfgcolor[] = "#e5e5e5"; -static char selbordercolor[] = "#1a1a1a"; -static char selbgcolor[] = "#ff55aa"; +static char selbordercolor[] = "#8e00ff"; +static char selbgcolor[] = "#8e00ff"; static char *colors[][3] = { /* fg bg border */ [SchemeNorm] = { normfgcolor, normbgcolor, normbordercolor }, @@ -62,20 +62,20 @@ static const int lockfullscreen = 1; /* 1 will force focus on the fullscreen win static const Layout layouts[] = { /* symbol arrange function */ -{ "[T]", tile }, /* 0 first entry is default */ -{ "[M]", monocle }, /* 1 */ -{ "[S]", spiral }, /* 2 */ -{ "[DW]", dwindle }, /* 3 */ -{ "[D]", deck }, /* 4 */ -{ "[BS]", bstack }, /* 5 */ -{ "[BSH]", bstackhoriz }, /* 6 */ -{ "[G]", grid }, /* 7 */ -{ "[RG]", nrowgrid }, /* 8 */ -{ "[HG]", horizgrid }, /* 9 */ -{ "[GG]", gaplessgrid }, /* 10 */ -{ "[C]", centeredmaster }, /* 11 */ -{ "[CF]", centeredfloatingmaster }, /* 12 */ -{ "[F]", NULL }, /* 13 no layout function means floating behavior */ +{ "[F]", NULL }, /* 0 first entry is default */ +{ "[T]", tile }, /* 1 */ +{ "[M]", monocle }, /* 2 */ +{ "[S]", spiral }, /* 3 */ +{ "[DW]", dwindle }, /* 4 */ +{ "[D]", deck }, /* 5 */ +{ "[BS]", bstack }, /* 6 */ +{ "[BSH]", bstackhoriz }, /* 7 */ +{ "[G]", grid }, /* 8 */ +{ "[RG]", nrowgrid }, /* 9 */ +{ "[HG]", horizgrid }, /* 10 */ +{ "[GG]", gaplessgrid }, /* 11 */ +{ "[C]", centeredmaster }, /* 12 */ +{ "[CF]", centeredfloatingmaster }, /* 13 */ { NULL, NULL }, /* 14 */ }; @@ -114,18 +114,18 @@ static Key keys[] = { /* modifier key function argument */ { MODKEY, XK_d, spawn, {.v = dmenucmd } }, { MODKEY, XK_Return, spawn, {.v = termcmd } }, - { MODKEY, XK_w, spawn, {.v = webcmd } }, - { MODKEY, XK_e, spawn, {.v = emojicmd } }, + { MODKEY, XK_w, spawn, {.v = webcmd } }, + { MODKEY, XK_e, spawn, {.v = emojicmd } }, { MODKEY|ShiftMask, XK_f, spawn, {.v = filescmd } }, { MODKEY|ShiftMask, XK_m, spawn, {.v = audiocontrolcmd } }, - { MODKEY, XK_0, spawn, {.v = powermenu } }, + { MODKEY, XK_0, spawn, {.v = powermenu } }, { MODKEY|ShiftMask, XK_w, spawn, {.v = bgset } }, { MODKEY|Mod1Mask, XK_w, spawn, {.v = chrscmd } }, { MODKEY|ShiftMask, XK_d, spawn, {.v = disset } }, { MODKEY|Mod1Mask, XK_d, spawn, {.v = disfix } }, - { MODKEY, XK_F2, spawn, SHCMD("groff -mom $HOME/.local/share/dwm/gzdots.mom -T pdf | zathura -") }, - { MODKEY|ShiftMask, XK_t, spawn, SHCMD(TERMINAL " -c cpomosai -e cpomosai") }, - { MODKEY, XK_b, spawn, {.v = sysinfo } }, + { MODKEY, XK_F2, spawn, SHCMD("groff -mom $HOME/.local/share/dwm/gzdots.mom -T pdf | zathura -") }, + { MODKEY|ShiftMask, XK_t, spawn, SHCMD(TERMINAL " -c cpomosai -e cpomosai") }, + { MODKEY, XK_b, spawn, {.v = sysinfo } }, { MODKEY|ShiftMask, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, @@ -134,22 +134,22 @@ static Key keys[] = { { MODKEY, XK_h, setmfact, {.f = -0.05} }, { MODKEY, XK_l, setmfact, {.f = +0.05} }, { MODKEY|ShiftMask, XK_Return, zoom, {0} }, - { MODKEY, XK_z, incrgaps, {.i = +3 } }, - { MODKEY, XK_x, incrgaps, {.i = -3 } }, - { MODKEY, XK_a, togglegaps, {0} }, - { MODKEY|ShiftMask, XK_a, defaultgaps, {0} }, + { MODKEY, XK_z, incrgaps, {.i = +3 } }, + { MODKEY, XK_x, incrgaps, {.i = -3 } }, + { MODKEY, XK_a, togglegaps, {0} }, + { MODKEY|ShiftMask, XK_a, defaultgaps, {0} }, { MODKEY, XK_Tab, view, {0} }, - { MODKEY, XK_q, killclient, {0} }, - { MODKEY, XK_t, setlayout, {.v = &layouts[0]} }, - { MODKEY, XK_m, setlayout, {.v = &layouts[4]} }, - { MODKEY, XK_M, setlayout, {.v = &layouts[1]} }, - { MODKEY, XK_s, setlayout, {.v = &layouts[2]} }, - { MODKEY, XK_c, setlayout, {.v = &layouts[11]} }, + { MODKEY, XK_q, killclient, {0} }, + { MODKEY, XK_t, setlayout, {.v = &layouts[1]} }, + { MODKEY, XK_m, setlayout, {.v = &layouts[5]} }, + { MODKEY|ShiftMask, XK_m, setlayout, {.v = &layouts[2]} }, + { MODKEY, XK_s, setlayout, {.v = &layouts[3]} }, + { MODKEY, XK_c, setlayout, {.v = &layouts[12]} }, { MODKEY, XK_space, setlayout, {.v = &layouts[13]} }, - { MODKEY|ControlMask, XK_comma, cyclelayout, {.i = -1 } }, + { MODKEY|ControlMask, XK_comma, cyclelayout, {.i = -1 } }, { MODKEY|ControlMask, XK_period, cyclelayout, {.i = +1 } }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, - { MODKEY, XK_f, togglefullscr, {0} }, + { MODKEY, XK_f, togglefullscr, {0} }, { MODKEY|ControlMask, XK_0, view, {.ui = ~0 } }, { MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } }, { MODKEY, XK_Left, focusmon, {.i = -1 } }, @@ -169,22 +169,22 @@ static Key keys[] = { TAGKEYS( XK_7, 6) TAGKEYS( XK_8, 7) TAGKEYS( XK_9, 8) - { 0, XK_Print, spawn, SHCMD("scrot ~/pic/allmon-$(date +%H:%M:%S).png --quality 100 --freeze") }, - { MODKEY, XK_Print, spawn, {.v = shotmenu } }, - { 0, XF86XK_AudioMute, spawn, SHCMD("pamixer -t") }, - { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pamixer --allow-boost -d 5") }, - { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pamixer --allow-boost -i 5") }, - { MODKEY, XK_F10, spawn, SHCMD("mpc volume 0") }, - { MODKEY, XK_F11, spawn, SHCMD("mpc volume -5") }, - { MODKEY, XK_F12, spawn, SHCMD("mpc volume +5") }, - { 0, XF86XK_AudioPrev, spawn, SHCMD("mpc prev && covernotify") }, - { 0, XF86XK_AudioNext, spawn, SHCMD("mpc next && covernotify") }, - { 0, XF86XK_AudioPlay, spawn, SHCMD("mpc toggle && covernotify") }, - { 0, XF86XK_AudioStop, spawn, SHCMD("mpc stop && covernotify") }, - { MODKEY, XK_F5, spawn, SHCMD(TERMINAL " -e ncmpcpp") }, - { 0, XF86XK_Calculator, spawn, SHCMD(TERMINAL " -e bc -l") }, - { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 15") }, - { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 15") }, + { 0, XK_Print, spawn, SHCMD("scrot ~/pic/allmon-$(date +%H:%M:%S).png --quality 100 --freeze") }, + { MODKEY, XK_Print, spawn, {.v = shotmenu } }, + { 0, XF86XK_AudioMute, spawn, SHCMD("pamixer -t") }, + { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pamixer --allow-boost -d 5") }, + { 0, XF86XK_AudioRaiseVolume, spawn, SHCMD("pamixer --allow-boost -i 5") }, + { MODKEY, XK_F10, spawn, SHCMD("mpc volume 0") }, + { MODKEY, XK_F11, spawn, SHCMD("mpc volume -5") }, + { MODKEY, XK_F12, spawn, SHCMD("mpc volume +5") }, + { 0, XF86XK_AudioPrev, spawn, SHCMD("mpc prev && covernotify") }, + { 0, XF86XK_AudioNext, spawn, SHCMD("mpc next && covernotify") }, + { 0, XF86XK_AudioPlay, spawn, SHCMD("mpc toggle && covernotify") }, + { 0, XF86XK_AudioStop, spawn, SHCMD("mpc stop && covernotify") }, + { MODKEY, XK_F5, spawn, SHCMD(TERMINAL " -e ncmpcpp") }, + { 0, XF86XK_Calculator, spawn, SHCMD(TERMINAL " -e bc -l") }, + { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("xbacklight -inc 15") }, + { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("xbacklight -dec 15") }, { MODKEY|ShiftMask, XK_F4, quit, {0} }, /* { MODKEY|Mod4Mask, XK_h, incrgaps, {.i = +1 } }, */ @@ -1,16 +1,3 @@ -/* -// . . . -// | | | . -// ,-. ,-. |-. ,-. . ,-. | ,_, ,-. ,-. |-. ,-,-. . |- ,_, -// | | ,-| | | | | |-' | / `-. | | | | | | | | / -// `-| `-^ ^-' ' ' `-' `' '"' `-' `-' ' ' ' ' ' ' `' '"' -// ,| -// `' -// GITHUB:https://github.com/gabrielzschmitz -// INSTAGRAM:https://www.instagram.com/gabrielz.schmitz/ -// DOTFILES:https://github.com/gabrielzschmitz/dotfiles/ -*/ -/* See LICENSE file for copyright and license details. */ #include <stdio.h> #include <stdlib.h> #include <string.h> Binary files differ@@ -1,15 +1,5 @@ -/* -// . . . -// | | | . -// ,-. ,-. |-. ,-. . ,-. | ,_, ,-. ,-. |-. ,-,-. . |- ,_, -// | | ,-| | | | | |-' | / `-. | | | | | | | | / -// `-| `-^ ^-' ' ' `-' `' '"' `-' `-' ' ' ' ' ' ' `' '"' -// ,| -// `' -// GITHUB:https://github.com/gabrielzschmitz -// INSTAGRAM:https://www.instagram.com/gabrielz.schmitz/ -// DOTFILES:https://github.com/gabrielzschmitz/dotfiles/ -*/ + + /* See LICENSE file for copyright and license details. * * dynamic window manager is designed like any other X client as well. It is Binary files differdiff --git a/transient.c b/transient.c index 8d6fd39..040adb5 100644 --- a/transient.c +++ b/transient.c @@ -1,15 +1,3 @@ -/* -// . . . -// | | | . -// ,-. ,-. |-. ,-. . ,-. | ,_, ,-. ,-. |-. ,-,-. . |- ,_, -// | | ,-| | | | | |-' | / `-. | | | | | | | | / -// `-| `-^ ^-' ' ' `-' `' '"' `-' `-' ' ' ' ' ' ' `' '"' -// ,| -// `' -// GITHUB:https://github.com/gabrielzschmitz -// INSTAGRAM:https://www.instagram.com/gabrielz.schmitz/ -// DOTFILES:https://github.com/gabrielzschmitz/dotfiles/ -*/ /* cc transient.c -o transient -lX11 */ #include <stdlib.h> @@ -1,16 +1,4 @@ -/* -// . . . -// | | | . -// ,-. ,-. |-. ,-. . ,-. | ,_, ,-. ,-. |-. ,-,-. . |- ,_, -// | | ,-| | | | | |-' | / `-. | | | | | | | | / -// `-| `-^ ^-' ' ' `-' `' '"' `-' `-' ' ' ' ' ' ' `' '"' -// ,| -// `' -// GITHUB:https://github.com/gabrielzschmitz -// INSTAGRAM:https://www.instagram.com/gabrielz.schmitz/ -// DOTFILES:https://github.com/gabrielzschmitz/dotfiles/ -*/ -/* See LICENSE file for copyright and license details. */ + #include <stdarg.h> #include <stdio.h> #include <stdlib.h> diff --git a/vanitygaps.c b/vanitygaps.c index 1dd6abe..f5c5e3f 100644 --- a/vanitygaps.c +++ b/vanitygaps.c @@ -1,15 +1,3 @@ -/* -// . . . -// | | | . -// ,-. ,-. |-. ,-. . ,-. | ,_, ,-. ,-. |-. ,-,-. . |- ,_, -// | | ,-| | | | | |-' | / `-. | | | | | | | | / -// `-| `-^ ^-' ' ' `-' `' '"' `-' `-' ' ' ' ' ' ' `' '"' -// ,| -// `' -// GITHUB:https://github.com/gabrielzschmitz -// INSTAGRAM:https://www.instagram.com/gabrielz.schmitz/ -// DOTFILES:https://github.com/gabrielzschmitz/dotfiles/ -*/ /* Key binding functions */ static void defaultgaps(const Arg *arg); static void incrgaps(const Arg *arg); |