diff options
author | Timmy Keller <tjk@tjkeller.xyz> | 2022-01-20 17:07:39 -0600 |
---|---|---|
committer | Timmy Keller <tjk@tjkeller.xyz> | 2022-01-20 17:07:39 -0600 |
commit | 1ffe58f3ee6eeb2d81729eb7c458a8979eb2df68 (patch) | |
tree | abf5bd1cfa67232bc349174135814e316be3de3b /launch/emu | |
parent | 32d34ac9c5e3b682800f65f24743f2f29af04347 (diff) | |
download | scripts-1ffe58f3ee6eeb2d81729eb7c458a8979eb2df68.tar.xz scripts-1ffe58f3ee6eeb2d81729eb7c458a8979eb2df68.zip |
moved many scripts around, small tweaks/rewrites, mounter verify xsudo and xclick scripts
Diffstat (limited to 'launch/emu')
-rwxr-xr-x | launch/emu | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -1,9 +1,8 @@ #!/bin/sh - # 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" @@ -41,7 +40,7 @@ case "$1" in ext=nds ;; *) - console=`ls $gamedir | dmenu -l 25` && ($0 $console || emu) # Allows going back to select a different console + console=`ls $gamedir | dmenu -l 25` && ($0 $console || $0) # Allows going back to select a different console exit ;; esac |