This commit is contained in:
2025-10-14 15:07:10 +03:00
parent 2ada67e225
commit c4c6968a19
5 changed files with 31 additions and 12 deletions

View File

@@ -48,7 +48,7 @@ bind = $mainMod, F2, exec, bash -c "xdg-open roblox://"
bind = $mainMod, F5, exec, notify-send -u critical "Hyprland" "Enabled debug overlay" && hyprctl keyword debug:overlay 1 bind = $mainMod, F5, exec, notify-send -u critical "Hyprland" "Enabled debug overlay" && hyprctl keyword debug:overlay 1
# bind = $mainMod SHIFT, F3, exec, bash -c "NIXPKGS_ALLOW_UNFREE=1 nix-shell -p osu-lazer-bin --command osu\!" # bind = $mainMod SHIFT, F3, exec, bash -c "NIXPKGS_ALLOW_UNFREE=1 nix-shell -p osu-lazer-bin --command osu\!"
bind = $mainMod CTRL SHIFT, F9, exec, pkill wofi || bash $HOME/config/scripts/open-roblox-game.sh bind = $mainMod CTRL SHIFT, F9, exec, pkill wofi || bash $HOME/config/scripts/open-game.sh
bind = $mainMod SHIFT, F, fullscreen, 1 bind = $mainMod SHIFT, F, fullscreen, 1
bind = $mainMod, SPACE, exec, bash $HOME/config/scripts/toggle-language.sh bind = $mainMod, SPACE, exec, bash $HOME/config/scripts/toggle-language.sh

View File

@@ -1,10 +1,7 @@
Regretevator %%% xdg-open roblox://placeId=4972273297 Deltarune %%% steam steam://rungameid/1671210
Something Evil Will Happen %%% xdg-open roblox://placeId=16991287194 Half-Life 2 %%% steam steam://rungameid/220
Doors %%% xdg-open roblox://placeId=6516141723 Portal 2 %%% steam steam://rungameid/620
Nico's Nextbots %%% xdg-open roblox://placeId=10118559731 Garry's Mod %%% steam steam://rungameid/4000
Kaiju Paradise %%% xdg-open roblox://placeId=6456351776 SCP:SL %%% steam steam://rungameid/700330
Pressure %%% xdg-open roblox://placeId=12411473842 CS2 %%% steam steam://rungameid/730
Untitled Tag Game %%% xdg-open roblox://placeId=14044547200 Roblox %%% hyprctl dispatch exec ~/config/scripts/open-roblox-game.sh
Running From The Internet %%% xdg-open roblox://placeId=11195100561
Evade %%% xdg-open roblox://placeId=9872472334
The Foundation %%% xdg-open roblox://placeId=18186775539

View File

@@ -0,0 +1,10 @@
Regretevator %%% xdg-open roblox://placeId=4972273297
Something Evil Will Happen %%% xdg-open roblox://placeId=16991287194
Doors %%% xdg-open roblox://placeId=6516141723
Nico's Nextbots %%% xdg-open roblox://placeId=10118559731
Kaiju Paradise %%% xdg-open roblox://placeId=6456351776
Pressure %%% xdg-open roblox://placeId=12411473842
Untitled Tag Game %%% xdg-open roblox://placeId=14044547200
Running From The Internet %%% xdg-open roblox://placeId=11195100561
Evade %%% xdg-open roblox://placeId=9872472334
The Foundation %%% xdg-open roblox://placeId=18186775539

12
scripts/open-game.sh Executable file
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 "Play something...")
if [ -n "$SELECTED" ]; then
PLACE_ID=$(echo "$GAMES" | grep "^$SELECTED" | sed 's/.*%%% //')
if [ -n "$PLACE_ID" ]; then
exec $PLACE_ID
fi
fi

View File

@@ -1,6 +1,6 @@
#!/usr/bin/env bash #!/usr/bin/env bash
GAMES=$(cat ~/config/scripts/lib/games.txt) GAMES=$(cat ~/config/scripts/lib/gamesRoblox.txt)
SELECTED=$(echo "$GAMES" | cut -d'%' -f1 | wofi --show dmenu -p "Play Roblox...") SELECTED=$(echo "$GAMES" | cut -d'%' -f1 | wofi --show dmenu -p "Play Roblox...")