summaryrefslogtreecommitdiff
path: root/launch
diff options
context:
space:
mode:
authorTimmy Keller <tjk@tjkeller.xyz>2021-11-28 23:24:22 -0600
committerTimmy Keller <tjk@tjkeller.xyz>2021-11-28 23:24:22 -0600
commit9d9f9a01bcf2af71f86a7c9c692207bd264e7cf9 (patch)
tree0c085e23305a93e2258ee49935e27222c30bdbbb /launch
parent304f73d44ac7d18922c03a94afef74cc13c0e6ee (diff)
downloadscripts-9d9f9a01bcf2af71f86a7c9c692207bd264e7cf9.tar.xz
scripts-9d9f9a01bcf2af71f86a7c9c692207bd264e7cf9.zip
tweak some scripts and add burndvd and new backlight scripts
Diffstat (limited to 'launch')
-rwxr-xr-xlaunch/emu4
1 files changed, 2 insertions, 2 deletions
diff --git a/launch/emu b/launch/emu
index df24b10..7f9c8ec 100755
--- a/launch/emu
+++ b/launch/emu
@@ -3,7 +3,7 @@
# This only works for collections with a common extension. You can rename all your roms to use the same extension and (in any decent emulator at least) they should work regardless of the actual header type
gamedir=${XDG_DATA_HOME:-$HOME/.local/share}/games
dmenuprompt="dmenu -l 25"
-resolution=`cat /sys/class/drm/*/modes | head -1`
+resolution() { cat /sys/class/drm/*/modes | head -1 }
case "$1" in
2600)
dmenucolors="-nb #111 -nf #e4963c -sb #6c3b17 -sf #fff -nhb #121212 -nhf #fc5231 -shb #804f2d -shf #fc5231"
@@ -27,7 +27,7 @@ case "$1" in
;;
n64)
dmenucolors="-nb #223 -nf #fff -sb #069330 -sf #fff -nhb #c20d02 -nhf #ffc001 -shb #011da9 -shf #ffc001"
- emulator="mupen64plus --fullscreen --gfx mupen64plus-video-glide64mk2 --resolution $resolution"
+ emulator="mupen64plus --fullscreen --gfx mupen64plus-video-glide64mk2 --resolution $(resolution)"
ext=z64
;;
gcn)