blob: 07b565a7796e4954882c6e2a984125ead7793d4e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/usr/bin/env sh
BROWSER="chromium"
KEYS="\Ct"
if pgrep "$BROWSER" > /dev/null; then
xdotool search --onlyvisible --class "$BROWSER" windowactivate --sync
xvkbd -xsendevent -text "$KEYS"
else
$BROWSER &
fi
|