diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2024-06-04 21:07:28 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2024-06-04 21:07:28 +0900 |
| commit | 7f8828a8a6aa189014571e66d012c9962777c719 (patch) | |
| tree | 4872aea6038451c3d2ed79926b6b663c426347c8 /dwm | |
| parent | 898331c11aa83917359c5cb2652b65b73bafa220 (diff) | |
Updates
Diffstat (limited to 'dwm')
| -rw-r--r-- | dwm/config.h | 12 | ||||
| -rw-r--r-- | dwm/drw.h | 34 | ||||
| -rwxr-xr-x | dwm/dwm | bin | 144120 -> 144120 bytes |
3 files changed, 23 insertions, 23 deletions
diff --git a/dwm/config.h b/dwm/config.h index 50543a9..453c0a8 100644 --- a/dwm/config.h +++ b/dwm/config.h @@ -341,7 +341,7 @@ static const Key keys[] = { { MODKEY, XK_b, spawn, SHCMD("xdotool type $(grep -v '^#' ~/.local/share/thesiah/snippets | dmenu -i -l 50 | cut -d' ' -f1)") }, { MODKEY | ShiftMask, XK_d, spawn, { .v = (const char *[]){ "passmenu", NULL } } }, { MODKEY | ControlMask, XK_d, spawn, { .v = (const char *[]){ "passmenu2", NULL } } }, - { MODKEY | ControlMask, XK_e, spawn, { .v = (const char *[]){ "ecryptfs", NULL } } }, + { MODKEY | ControlMask, XK_e, spawn, SHCMD("ecrypt; pkill -RTMIN+19 ${STATUSBAR:-dwmblocks}") }, { MODKEY, XK_v, spawn, { .v = (const char *[]){ "mpvplay", NULL } } }, { MODKEY | ControlMask, XK_v, spawn, { .v = (const char *[]){ "ovpn", NULL } } }, { MODKEY, XK_Insert, spawn, SHCMD("xdotool type $(grep -v '^#' ~/.local/share/thesiah/snippets | dmenu -i -l 50 | cut -d' ' -f1)") }, @@ -381,11 +381,11 @@ static const Key keys[] = { { MODKEY | ShiftMask, XK_BackSpace, spawn, { .v = (const char *[]){ "sysact", NULL } } }, { MODKEY, XK_minus, spawn, SHCMD("wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-; kill -44 $(pidof dwmblocks)") }, { MODKEY, XK_equal, spawn, SHCMD("wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+; kill -44 $(pidof dwmblocks)") }, - { MODKEY | ShiftMask, XK_minus, spawn, SHCMD("sudo brillo -U 5 -q; pkill -RTMIN+22 dwmblocks") }, - { MODKEY | ShiftMask, XK_equal, spawn, SHCMD("sudo brillo -A 5 -q; pkill -RTMIN+22 dwmblocks") }, - { MODKEY | ControlMask, XK_minus, spawn, SHCMD("monbright -dec 5; pkill -RTMIN+22 dwmblocks") }, - { MODKEY | ControlMask, XK_equal, spawn, SHCMD("monbright -inc 5; pkill -RTMIN+22 dwmblocks") }, - { 0, XK_Alt_R, spawn, SHCMD("fcitx5-remote -t; pkill -RTMIN+29 dwmblocks") }, + { MODKEY | ShiftMask, XK_minus, spawn, SHCMD("sudo brillo -U 5 -q; kill -57 $(pidof dwmblocks)") }, + { MODKEY | ShiftMask, XK_equal, spawn, SHCMD("sudo brillo -A 5 -q; kill -57 $(pidof dwmblocks)") }, + { MODKEY | ControlMask, XK_minus, spawn, SHCMD("monbright -dec 5; kill -56 $(pidof dwmblocks)") }, + { MODKEY | ControlMask, XK_equal, spawn, SHCMD("monbright -inc 5; kill -56 $(pidof dwmblocks)") }, + { 0, XK_Alt_R, spawn, SHCMD("fcitx5-remote -t; kill -63 $(pidof dwmblocks)") }, { ControlMask, XK_F5, quit, {1} }, { ControlMask | ShiftMask, XK_F5, spawn, SHCMD("killall -q dwmblocks; setsid -f dwmblocks") }, @@ -1,15 +1,15 @@ /* See LICENSE file for copyright and license details. */ typedef struct { - Cursor cursor; + Cursor cursor; } Cur; typedef struct Fnt { - Display *dpy; - unsigned int h; - XftFont *xfont; - FcPattern *pattern; - struct Fnt *next; + Display *dpy; + unsigned int h; + XftFont *xfont; + FcPattern *pattern; + struct Fnt *next; } Fnt; enum { ColFg, ColBg, ColBorder, ColMark }; /* Clr scheme index */ @@ -17,17 +17,17 @@ enum { ColFg, ColBg, ColBorder, ColMark }; /* Clr scheme index */ typedef XftColor Clr; typedef struct { - unsigned int w, h; - Display *dpy; - int screen; - Window root; - Visual *visual; - unsigned int depth; - Colormap cmap; - Drawable drawable; - GC gc; - Clr *scheme; - Fnt *fonts; + unsigned int w, h; + Display *dpy; + int screen; + Window root; + Visual *visual; + unsigned int depth; + Colormap cmap; + Drawable drawable; + GC gc; + Clr *scheme; + Fnt *fonts; } Drw; /* Drawable abstraction */ Binary files differ |
