added the ability to launch regretevator faster than before with a keybind

This commit is contained in:
2025-04-12 21:51:22 +03:00
parent 5b79fede8e
commit b8881770a6
5 changed files with 29 additions and 3 deletions

View File

@@ -0,0 +1,12 @@
#!/usr/bin/env bash
GAMES=$(cat ~/config/scripts/lib/games.txt)
SELECTED=$(echo "$GAMES" | cut -d'%' -f1 | wofi --show dmenu -p "Launch Roblox...")
if [ -n "$SELECTED" ]; then
PLACE_ID=$(echo "$GAMES" | grep "^$SELECTED" | sed 's/.*%%% //')
if [ -n "$PLACE_ID" ]; then
exec $PLACE_ID
fi
fi