diff options
author | xyz <gky44px1999@gmail.com> | 2022-09-20 00:59:49 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2022-09-20 00:59:49 -0700 |
commit | 161a233be22d69ada3835fd1025f4b3d08aa3f5e (patch) | |
tree | eb864411143abff39faf6e0bef0669c8e19a722c | |
parent | fb4a77b4f297295b355a635fc0e179b09ce1d722 (diff) |
better expansion
-rw-r--r-- | config.def.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config.def.h b/config.def.h index 8b9733b..7d2b3b0 100644 --- a/config.def.h +++ b/config.def.h @@ -123,7 +123,7 @@ static Key keys[] = { { MODKEY, XK_r, spawn, SHCMD("xsel -ob | rev | xsel -ib") }, // Use "$(xsel -op)" instead of "xsel -op | sdcv" because: the latter won't quit if found items similar and require user input. Not sure why. // use env inside, to fix a bug: alacritty created by `alacritty msg create-window` will quit immediately if result is less than one page. - { MODKEY, XK_s, spawn, SHCMD("alacritty -e env SDCV_PAGER='less -R' sdcv --color \"$(xsel -op)\"") }, + { MODKEY, XK_s, spawn, SHCMD("alacritty -e env LESS=\"$LESS-+F\" sdcv --color \"$(xsel -op)\"") }, { MODKEY, XK_v, spawn, SHCMD("mullvad reconnect") }, { MODKEY, XK_w, spawn, SHCMD("\"$BROWSER\"") }, { MODKEY, XK_x, spawn, SHCMD("sleep 0.3; xcross") }, |