summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dwm/config.h12
-rw-r--r--dwm/drw.h34
-rwxr-xr-xdwm/dwmbin144120 -> 144120 bytes
-rw-r--r--dwmblocks/FUNDING.yml3
-rw-r--r--dwmblocks/config.h11
-rw-r--r--slock/config.h2
-rwxr-xr-xslock/slockbin32144 -> 32144 bytes
7 files changed, 32 insertions, 30 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") },
diff --git a/dwm/drw.h b/dwm/drw.h
index 9fb46e7..b83aa15 100644
--- a/dwm/drw.h
+++ b/dwm/drw.h
@@ -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 */
diff --git a/dwm/dwm b/dwm/dwm
index 046cfff..8883ae4 100755
--- a/dwm/dwm
+++ b/dwm/dwm
Binary files differ
diff --git a/dwmblocks/FUNDING.yml b/dwmblocks/FUNDING.yml
deleted file mode 100644
index f8e6076..0000000
--- a/dwmblocks/FUNDING.yml
+++ /dev/null
@@ -1,3 +0,0 @@
-github: lukesmithxyz
-custom: ["https://lukesmith.xyz/donate", "https://paypal.me/lukemsmith", "https://lukesmith.xyz/crypto"]
-patreon: lukesmith
diff --git a/dwmblocks/config.h b/dwmblocks/config.h
index 3db5249..2805cae 100644
--- a/dwmblocks/config.h
+++ b/dwmblocks/config.h
@@ -1,7 +1,8 @@
+// Modify this file to change what commands output to your statusbar, and recompile using the make command.
static const Block blocks[] = {
/*Icon*/ /*Command*/ /*Update Interval*/ /*Update Signal*/
{"", "sb-music", 1, 11},
- // {"⌨", "sb-kbselect", 0, 30},
+ /* {"⌨", "sb-kbselect", 0, 30}, */
{"", "cat /tmp/recordingicon 2>/dev/null", 0, 9},
{"", "sb-tasks", 10, 26},
{"", "sb-torrent", 20, 7},
@@ -30,6 +31,10 @@ static const Block blocks[] = {
{"", "sb-help-icon", 0, 15},
};
-// Sets delimiter between status commands. NULL character ('\0') means no
-// delimiter.
+// Sets delimiter between status commands. NULL character ('\0') means no delimiter.
static char *delim = " ";
+
+// Have dwmblocks automatically recompile and run when you edit this file in
+// vim with the following line in your vimrc/init.vim:
+
+// autocmd BufWritePost ~/.local/src/dwmblocks/config.h !cd ~/.local/src/dwmblocks/; sudo make install && { killall -q dwmblocks;setsid dwmblocks & }
diff --git a/slock/config.h b/slock/config.h
index 0c40efd..b2717c8 100644
--- a/slock/config.h
+++ b/slock/config.h
@@ -1,6 +1,6 @@
/* user and group to drop privileges to */
static const char *group = "wheel";
-static int personalblur = 100;
+static int personalblur = 200;
static const char *colorname[NUMCOLS] = {
[INIT] = "#3c3836", /* after initialization */
diff --git a/slock/slock b/slock/slock
index c60a653..034a415 100755
--- a/slock/slock
+++ b/slock/slock
Binary files differ