My NixOS configurations + dotfiles

gaming

+31 -12
+1 -1
config/hypr/config/keybindings/other.conf
··· 48 48 bind = $mainMod, F5, exec, notify-send -u critical "Hyprland" "Enabled debug overlay" && hyprctl keyword debug:overlay 1 49 49 # bind = $mainMod SHIFT, F3, exec, bash -c "NIXPKGS_ALLOW_UNFREE=1 nix-shell -p osu-lazer-bin --command osu\!" 50 50 51 - bind = $mainMod CTRL SHIFT, F9, exec, pkill wofi || bash $HOME/config/scripts/open-roblox-game.sh 51 + bind = $mainMod CTRL SHIFT, F9, exec, pkill wofi || bash $HOME/config/scripts/open-game.sh 52 52 53 53 bind = $mainMod SHIFT, F, fullscreen, 1 54 54 bind = $mainMod, SPACE, exec, bash $HOME/config/scripts/toggle-language.sh
+7 -10
scripts/lib/games.txt
··· 1 - Regretevator %%% xdg-open roblox://placeId=4972273297 2 - Something Evil Will Happen %%% xdg-open roblox://placeId=16991287194 3 - Doors %%% xdg-open roblox://placeId=6516141723 4 - Nico's Nextbots %%% xdg-open roblox://placeId=10118559731 5 - Kaiju Paradise %%% xdg-open roblox://placeId=6456351776 6 - Pressure %%% xdg-open roblox://placeId=12411473842 7 - Untitled Tag Game %%% xdg-open roblox://placeId=14044547200 8 - Running From The Internet %%% xdg-open roblox://placeId=11195100561 9 - Evade %%% xdg-open roblox://placeId=9872472334 10 - The Foundation %%% xdg-open roblox://placeId=18186775539 1 + Deltarune %%% steam steam://rungameid/1671210 2 + Half-Life 2 %%% steam steam://rungameid/220 3 + Portal 2 %%% steam steam://rungameid/620 4 + Garry's Mod %%% steam steam://rungameid/4000 5 + SCP:SL %%% steam steam://rungameid/700330 6 + CS2 %%% steam steam://rungameid/730 7 + Roblox %%% hyprctl dispatch exec ~/config/scripts/open-roblox-game.sh
+10
scripts/lib/gamesRoblox.txt
··· 1 + Regretevator %%% xdg-open roblox://placeId=4972273297 2 + Something Evil Will Happen %%% xdg-open roblox://placeId=16991287194 3 + Doors %%% xdg-open roblox://placeId=6516141723 4 + Nico's Nextbots %%% xdg-open roblox://placeId=10118559731 5 + Kaiju Paradise %%% xdg-open roblox://placeId=6456351776 6 + Pressure %%% xdg-open roblox://placeId=12411473842 7 + Untitled Tag Game %%% xdg-open roblox://placeId=14044547200 8 + Running From The Internet %%% xdg-open roblox://placeId=11195100561 9 + Evade %%% xdg-open roblox://placeId=9872472334 10 + The Foundation %%% xdg-open roblox://placeId=18186775539
+12
scripts/open-game.sh
··· 1 + #!/usr/bin/env bash 2 + 3 + GAMES=$(cat ~/config/scripts/lib/games.txt) 4 + 5 + SELECTED=$(echo "$GAMES" | cut -d'%' -f1 | wofi --show dmenu -p "Play something...") 6 + 7 + if [ -n "$SELECTED" ]; then 8 + PLACE_ID=$(echo "$GAMES" | grep "^$SELECTED" | sed 's/.*%%% //') 9 + if [ -n "$PLACE_ID" ]; then 10 + exec $PLACE_ID 11 + fi 12 + fi
+1 -1
scripts/open-roblox-game.sh
··· 1 1 #!/usr/bin/env bash 2 2 3 - GAMES=$(cat ~/config/scripts/lib/games.txt) 3 + GAMES=$(cat ~/config/scripts/lib/gamesRoblox.txt) 4 4 5 5 SELECTED=$(echo "$GAMES" | cut -d'%' -f1 | wofi --show dmenu -p "Play Roblox...") 6 6