diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2021-12-27 14:21:06 -0600 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2021-12-27 14:21:06 -0600 |
commit | ea8ec2d2776fb7e3ea44c4416fac7e662594f351 (patch) | |
tree | fdd1c47ba32c40acdd23bf49299bd3f57d453939 /launch/dmenu_runapp | |
parent | f4b77c42ca78c5265c4754caeef5289e3841f5e9 (diff) | |
download | scripts-ea8ec2d2776fb7e3ea44c4416fac7e662594f351.tar.xz scripts-ea8ec2d2776fb7e3ea44c4416fac7e662594f351.zip |
dmenu runapp script and xvsync
Diffstat (limited to 'launch/dmenu_runapp')
-rwxr-xr-x | launch/dmenu_runapp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/launch/dmenu_runapp b/launch/dmenu_runapp index bf0e148..2de77f4 100755 --- a/launch/dmenu_runapp +++ b/launch/dmenu_runapp @@ -1,4 +1,5 @@ #!/bin/sh apps=/usr/share/applications -name="$(grep -rh -m1 '^Name=' $apps | cut -d'=' -f2- | sort | uniq | dmenu "$@")" -$(grep '^Exec=[^%]*' -o -m1 $(grep -rl -m1 "$name" $apps) | cut -d'=' -f2-) & +name="$(grep -h -m1 '^Name=' $apps/* | cut -d'=' -f2- | sort | uniq | dmenu "$@")" +#$(grep '^Exec=[^%]*' -o -m1 $(grep -l -m1 "$name" $apps/*) | cut -d'=' -f2-) & +gtk-launch $(basename `grep -l -m1 "$name" $apps/*` .desktop) & |