aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index c288bda..ff4fa05 100644
--- a/config.def.h
+++ b/config.def.h
@@ -128,6 +128,8 @@ static const Key keys[] = {
// Use "$(xsel -op)" instead of "xsel -op | sdcv" (with sh -c?) because: the latter won't quit if found items similar and require user input. Not sure why.
// use env inside, to fix a bug: alacritty created by `alacritty msg create-window` will quit immediately if result is less than one page.
{ MODKEY, XK_s, spawn, SHCMD("alacritty -e env LESS=\"$LESS-+F\" sdcv --color \"$(xsel -op)\"") },
+ // firefox Userjs toggle RFP
+ { MODKEY, XK_u, spawn, SHCMD("rfp") },
{ MODKEY, XK_v, spawn, SHCMD("if nmcli -t --fields device,state device | grep -q '^wg0:connected$'; then nmcli connection down wg0; notify-send -u critical 'VPN disabled'; else nmcli connection up wg0; notify-send 'VPN enabled'; fi") },
{ MODKEY, XK_w, spawn, SHCMD("\"$BROWSER\"") },
{ MODKEY, XK_x, spawn, SHCMD("sleep 0.3; xcross") },