From 2bbbea31a0c3eccd8a301ee2adb811c96f89f1f4 Mon Sep 17 00:00:00 2001 From: Xiao Pan Date: Tue, 5 Dec 2023 02:40:19 -0800 Subject: update --- config.def.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 7cf99bc..2d85cd8 100644 --- a/config.def.h +++ b/config.def.h @@ -115,7 +115,6 @@ static const Key keys[] = { // mod-shift-prtsc and mod-ctrl-prtsc does not work well, maybe because of sysrq? but mod-prtsc works well tho { 0, XK_Print, spawn, SHCMD("ffmpeg -f x11grab -i \"$DISPLAY\" -vframes 1 \"$XDG_PICTURES_DIR/screenshots/$(time-uuid).jxl\" && notify-send 'Screenshot Finished'") }, { MODKEY, XF86XK_AudioMute, spawn, SHCMD("amixer set Capture toggle; kill -RTMIN $(pidof -x sbar)") }, - { MODKEY, XK_z, spawn, SHCMD("0 \"$(xsel -op)\"") }, { 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 @@ -134,6 +133,7 @@ static const Key keys[] = { { MODKEY, XK_w, spawn, SHCMD("\"$BROWSER\"") }, { MODKEY, XK_x, spawn, SHCMD("sleep 0.3; xcross") }, { MODKEY, XK_y, spawn, SHCMD("mpvy -s") }, + { MODKEY, XK_z, spawn, SHCMD("0 \"$(xsel -op)\"") }, { MODKEY|ControlMask, XK_y, spawn, SHCMD("tsp mpvy -A -u \"$(xsel -ob)\"") }, { MODKEY|ShiftMask, XK_g, spawn, SHCMD("reco") }, { MODKEY|ShiftMask, XK_n, spawn, SHCMD("alarm 12 'Boiling Water!'") }, -- cgit v1.2.3-70-g09d2