aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.def.h1
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.