diff options
author | Xiao Pan <gky44px1999@gmail.com> | 2023-07-09 21:04:13 -0700 |
---|---|---|
committer | Xiao Pan <gky44px1999@gmail.com> | 2023-07-09 21:04:13 -0700 |
commit | 2871e5b30780bff9fa142cb43034f61b44099e1d (patch) | |
tree | 35efec64e4502d2779709b432ef4a7b064c2a43b | |
parent | cb2984958a3b9eeeb4aa9cf4045dde1ded27b3ff (diff) |
organize pass
-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 f81b100..2c95532 100644 --- a/config.def.h +++ b/config.def.h @@ -119,7 +119,7 @@ static const Key keys[] = { { MODKEY, XK_g, spawn, SHCMD("xrectsel '%w %h %x %y' | xargs sh -c 'ffmpeg -f x11grab -s \"$1x$2\" -i \"$DISPLAY+$3,$4\" -vframes 1 \"$XDG_PICTURES_DIR/screenshots/$(time-uuid).jxl\"' shell && notify-send 'Screenshot Finished'") }, { MODKEY, XK_n, spawn, SHCMD("dunstctl close") }, // `xsel -cb` because there's a small delay before reading password into clipboard, so clear it beforehand to prevent pasting old clipboard - { MODKEY, XK_o, spawn, SHCMD("xsel -cb; pass otp duolibre | tail -n1 | xsel -ibt 3000") }, + { MODKEY, XK_o, spawn, SHCMD("xsel -cb; pass otp sjsu.okta.com | tail -n1 | xsel -ibt 3000") }, // https://unix.stackexchange.com/a/568679/459013 // https://stackoverflow.com/q/8696751/9008720 // alternative: `sed 's/./& /g'` or sed 's/./& /g;s/ $//'` |