aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2022-05-27 16:04:31 +1200
committerTom Ryder <tom@sanctum.geek.nz>2022-05-27 16:05:09 +1200
commit94c9606942b3b5da0dbb22f1440d7f65b4ea548a (patch)
treefb45b9ec12f7dcd2126d43e9ec71697d21a65764
parentUse parents for terser sxhkdrc (diff)
downloaddotfiles-94c9606942b3b5da0dbb22f1440d7f65b4ea548a.tar.gz
dotfiles-94c9606942b3b5da0dbb22f1440d7f65b4ea548a.zip
Use exec in sxhkdrc to save a fork
I get the feeling this might have some subtle reason I shouldn't do it, but I can't think of what it might be, so let's just try it out.
-rw-r--r--sxhkd/sxhkdrc34
1 files changed, 17 insertions, 17 deletions
diff --git a/sxhkd/sxhkdrc b/sxhkd/sxhkdrc
index 5bde082e..d655dc30 100644
--- a/sxhkd/sxhkdrc
+++ b/sxhkd/sxhkdrc
@@ -1,50 +1,50 @@
super + Return
- x-terminal-emulator
+ exec x-terminal-emulator
super + {control,shift,alt} + Return
- x-terminal-emulator -e {sh,ksh,zsh}
+ exec x-terminal-emulator -e {sh,ksh,zsh}
super + b
- x-www-browser
+ exec x-www-browser
super + d
- dmenu_run
+ exec dmenu_run
super + g
- xgoc
+ exec xgoc
super + i
- gimp
+ exec gimp
super + m
- x-terminal-emulator -e tm
+ exec x-terminal-emulator -e tm
super + p
- dmenu_pass
+ exec dmenu_pass
super + t
- thunar
+ exec thunar
super + v
- x-terminal-emulator -e "$VISUAL"
+ exec x-terminal-emulator -e "$VISUAL"
Print
- xsnap
+ exec xsnap
control + Print
- xsnap --freeze --select
+ exec xsnap --freeze --select
super + Print
- xsnap --focused
+ exec xsnap --focused
Pause
- xlock
+ exec xlock
XF86AudioMute
- pactl set-sink-mute @DEFAULT_SINK@ toggle
+ exec pactl set-sink-mute @DEFAULT_SINK@ toggle
XF86Audio{Lower,Raise}Volume
- pactl set-sink-volume @DEFAULT_SINK@ {-5%,+5%}
+ exec pactl set-sink-volume @DEFAULT_SINK@ {-5%,+5%}
XF86Calculator
- x-terminal-emulator -e bcq
+ exec x-terminal-emulator -e bcq