From 1ffe58f3ee6eeb2d81729eb7c458a8979eb2df68 Mon Sep 17 00:00:00 2001 From: Timmy Keller Date: Thu, 20 Jan 2022 17:07:39 -0600 Subject: moved many scripts around, small tweaks/rewrites, mounter verify xsudo and xclick scripts --- launch/emu | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'launch/emu') diff --git a/launch/emu b/launch/emu index 7f9c8ec..fe17ed7 100755 --- a/launch/emu +++ b/launch/emu @@ -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 -- cgit v1.2.3