diff options
| -rw-r--r-- | dwm/config.h | 8 | ||||
| -rwxr-xr-x | dwm/dwm | bin | 76624 -> 76624 bytes | |||
| -rw-r--r-- | dwm/dwm.o | bin | 67680 -> 67656 bytes | |||
| -rw-r--r-- | slock/config.h | 12 | ||||
| -rw-r--r-- | slock/explicit_bzero.o | bin | 0 -> 1464 bytes | |||
| -rwxr-xr-x | slock/slock | bin | 0 -> 34944 bytes | |||
| -rw-r--r-- | slock/slock.c | 2 | ||||
| -rw-r--r-- | slock/slock.o | bin | 0 -> 28296 bytes |
8 files changed, 17 insertions, 5 deletions
diff --git a/dwm/config.h b/dwm/config.h index 497dc66..c89c80d 100644 --- a/dwm/config.h +++ b/dwm/config.h @@ -6,8 +6,8 @@ static const unsigned int gappx = 3; /* gaps between windows */ static const unsigned int snap = 32; /* snap pixel */ static const int showbar = 1; /* 0 means no bar */ static const int topbar = 1; /* 0 means bottom bar */ -static const char *fonts[] = { "monospace:size=10" }; -static const char dmenufont[] = "monospace:size=10"; +static const char *fonts[] = { "Monaco:size=12" }; +static const char dmenufont[] = "Monaco:size=12"; static const char col_gray1[] = "#000000"; static const char col_gray2[] = "#555555"; static const char col_gray3[] = "#dddddd"; @@ -71,9 +71,9 @@ static const char *screenshotcmd[] = { "flameshot", "gui", NULL }; static const char *mediaplaypause[] = { "playerctl", "play-pause", NULL }; static const char *medianext[] = { "playerctl", "next", NULL }; static const char *mediaprev[] = { "playerctl", "previous", NULL }; -static const char *calendarcmd[] = { "/bin/sh", "-c", "st -e sh -c 'cal -3 | less -+F'", NULL }; +static const char *calendarcmd[] = { "/bin/sh", "-c", "st -e sh -c 'cal -3 | less'", NULL }; static const char *dunstlogcmd[] = { "/bin/sh", "-c", "st -e sh -c 'less -+F \"$HOME/.cache/dunst/dunst.log\"'", NULL }; -static const char *powermenucmd[] = { "/bin/sh", "-c", "printf 'lock\\nreboot\\nshutdown' | dmenu | xargs -r -I{} sh -c 'case \"{}\" in lock) slock ;; reboot) loginctl reboot ;; shutdown) loginctl poweroff ;; esac'", NULL }; +static const char *powermenucmd[] = { "/bin/sh", "-c", "printf '%s\n' lock reboot shutdown | dmenu | xargs -r -I{} sh -c 'case \"{}\" in lock) slock ;; reboot) loginctl reboot ;; shutdown) loginctl poweroff ;; esac'", NULL }; static const Key keys[] = { /* modifier key function argument */ Binary files differBinary files differdiff --git a/slock/config.h b/slock/config.h new file mode 100644 index 0000000..9855e21 --- /dev/null +++ b/slock/config.h @@ -0,0 +1,12 @@ +/* user and group to drop privileges to */ +static const char *user = "nobody"; +static const char *group = "nogroup"; + +static const char *colorname[NUMCOLS] = { + [INIT] = "black", /* after initialization */ + [INPUT] = "#005577", /* during input */ + [FAILED] = "#CC3333", /* wrong password */ +}; + +/* treat a cleared input like a wrong password (color) */ +static const int failonclear = 1; diff --git a/slock/explicit_bzero.o b/slock/explicit_bzero.o Binary files differnew file mode 100644 index 0000000..192474c --- /dev/null +++ b/slock/explicit_bzero.o diff --git a/slock/slock b/slock/slock Binary files differnew file mode 100755 index 0000000..0d85d2f --- /dev/null +++ b/slock/slock diff --git a/slock/slock.c b/slock/slock.c index 962cc1d..297e076 100644 --- a/slock/slock.c +++ b/slock/slock.c @@ -180,7 +180,7 @@ blurbackground(Display *dpy, struct lock *lock) if (!img) return; imlib_context_set_image(img); - imlib_image_blur(20); + imlib_image_blur(75); lock->bgmap = XCreatePixmap(dpy, lock->root, w, h, DefaultDepth(dpy, lock->screen)); diff --git a/slock/slock.o b/slock/slock.o Binary files differnew file mode 100644 index 0000000..f28cbdd --- /dev/null +++ b/slock/slock.o |
