From a34dd6663c6c8a79a11ab2776e5b9b75e8f38f13 Mon Sep 17 00:00:00 2001 From: Mart Lubbers Date: Fri, 29 Jun 2018 08:10:31 +0200 Subject: [PATCH] updates to bar, dwm and compose --- config.h/dwm/config.h | 2 ++ x/.XCompose | 8 ++++---- x/.local/bin/bar | 4 ++-- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/config.h/dwm/config.h b/config.h/dwm/config.h index 151c1ba..d332607 100644 --- a/config.h/dwm/config.h +++ b/config.h/dwm/config.h @@ -63,6 +63,7 @@ static const char *passmenu[] = { "passmenu", NULL }; static const char *passmenu_type[] = { "passmenu", "--type", NULL }; static const char *scr[] = { "scr", NULL }; static const char *scr_sel[] = { "scr", "selection", NULL }; +static const char *lock[] = { "slock", NULL }; static Key keys[] = { @@ -73,6 +74,7 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_y, spawn, {.v = passmenu_type } }, { MODKEY, XK_Print, spawn, {.v = scr } }, { MODKEY|ShiftMask, XK_Print, spawn, {.v = scr_sel } }, + { MODKEY|ShiftMask, XK_l, spawn, {.v = lock } }, { MODKEY, XK_b, togglebar, {0} }, { MODKEY, XK_j, focusstack, {.i = +1 } }, { MODKEY, XK_k, focusstack, {.i = -1 } }, diff --git a/x/.XCompose b/x/.XCompose index 63b28e2..0a4498d 100644 --- a/x/.XCompose +++ b/x/.XCompose @@ -88,10 +88,10 @@ include "%L" : "⇝" U21DD # Dotted arrows - : "⇠" U21E0 - : "⇡" U21E1 - : "⇢" U21E2 - : "⇣" U21E3 + : "⇠" U21E0 + : "⇡" U21E1 + : "⇢" U21E2 + : "⇣" U21E3 # Walled arrows : "⇤" U21E4 diff --git a/x/.local/bin/bar b/x/.local/bin/bar index 8d8d053..15b1f87 100755 --- a/x/.local/bin/bar +++ b/x/.local/bin/bar @@ -1,4 +1,4 @@ #!/bin/sh echo \ - "$(date +"%Y-%m-%d %H:%M:%S")"\ - " $(df -h | grep '/$' | awk '{print $4"/"$2}')" + "$(df -h | grep '/$' | awk '{print $4"/"$2}')"\ + " | $(date +"%Y-%m-%d %H:%M:%S")" -- 2.20.1