From: Mart Lubbers Date: Fri, 29 Jun 2018 06:10:31 +0000 (+0200) Subject: updates to bar, dwm and compose X-Git-Url: https://git.martlubbers.net/?a=commitdiff_plain;h=a34dd6663c6c8a79a11ab2776e5b9b75e8f38f13;p=dotfiles.git updates to bar, dwm and compose --- 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")"