From 41c5e97d989b5831f7d2eeb71767ed3615df16b8 Mon Sep 17 00:00:00 2001 From: xyz Date: Sat, 8 Oct 2022 19:07:04 -0700 Subject: refactor --- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.def.h b/config.def.h index b898655..54e9853 100644 --- a/config.def.h +++ b/config.def.h @@ -120,7 +120,7 @@ static const Key keys[] = { { MODKEY, XK_o, spawn, SHCMD("pass otp duolibre | tail -n1 | xsel -ibt 3000") }, { MODKEY, XK_q, spawn, SHCMD("qbittorrent & alacritty -t monerod -e monerod") }, { 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 "$(xsel -op)" instead of "xsel -op | sdcv" (with sh -c?) 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 LESS=\"$LESS-+F\" sdcv --color \"$(xsel -op)\"") }, { MODKEY, XK_v, spawn, SHCMD("mullvad reconnect") }, -- cgit v1.2.3-70-g09d2