diff options
author | xyz <gky44px1999@gmail.com> | 2022-08-30 23:50:51 -0700 |
---|---|---|
committer | xyz <gky44px1999@gmail.com> | 2022-08-30 23:50:51 -0700 |
commit | 030cac7fff782d5fc0ea2938cd1ec03b0cc4fc36 (patch) | |
tree | 99e864fe86759367db4cb8cff54ae47d18c5fe45 | |
parent | be2066bc16fe63e6f60c81e9c17885949108cf45 (diff) |
mod1-o copy pass otp
-rw-r--r-- | config.def.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h index 56ad892..9883efa 100644 --- a/config.def.h +++ b/config.def.h @@ -118,6 +118,7 @@ static Key keys[] = { { MODKEY, XF86XK_AudioMute, spawn, SHCMD("amixer set Capture toggle; kill -RTMIN $(pidof -x sbar)") }, { MODKEY, XK_Print, 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).png\"' shell && notify-send 'Screenshot Finished'") }, { MODKEY, XK_n, spawn, SHCMD("dunstctl close") }, + { 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. |