From 030cac7fff782d5fc0ea2938cd1ec03b0cc4fc36 Mon Sep 17 00:00:00 2001 From: xyz Date: Tue, 30 Aug 2022 23:50:51 -0700 Subject: mod1-o copy pass otp --- config.def.h | 1 + 1 file changed, 1 insertion(+) 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. -- cgit v1.2.3-70-g09d2