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

@@ -37,8 +37,8 @@ bind = SUPER SHIFT, L, exec, hyprlock
# bind = $mainMod CTRL ALT, down, moveintogroup, d
# zoom
bind = $mainMod ALT CTRL, mouse_down, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor * 1.25}')"
bind = $mainMod ALT CTRL, mouse_up, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor / 1.25}')"
bind = $mainMod SHIFT CTRL, mouse_down, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor * 1.25}')"
bind = $mainMod SHIFT CTRL, mouse_up, exec, hyprctl keyword cursor:zoom_factor "$(hyprctl getoption cursor:zoom_factor | awk 'NR==1 {factor = $2; if (factor < 1) {factor = 1}; print factor / 1.25}')"
bind = $mainMod SHIFT, M, exec, bun run $HOME/config/scripts/bin/r2Upload.ts
bind = $mainMod, F1, exec, bash $HOME/config/scripts/roblox-fullscreen.sh
@@ -46,6 +46,8 @@ 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 SHIFT, F3, exec, bash -c "NIXPKGS_ALLOW_UNFREE=1 nix-shell -p osu-lazer-bin --command osu\!"
bind = $mainMod CTRL SHIFT, F9, exec, bash $HOME/config/scripts/open-roblox-game.sh
bind = $mainMod SHIFT, F, fullscreen, 1
bind = $mainMod, SPACE, exec, bash $HOME/config/scripts/toggle-language.sh

View File

@@ -25,7 +25,7 @@ underline_shortcut=1
wheel_scroll_lines=3
[SettingsWindow]
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\aS\0\0\x3\xec\0\0\0\0\0\0\0\0\0\0\a\x7f\0\0\x4\x37\0\0\0\0\x2\0\0\0\a\x80\0\0\0\0\0\0\0\0\0\0\aS\0\0\x3\xec)
geometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\0\0\0\0\0\0\0\0\x3\xbe\0\0\x2\xfb\0\0\0\0\0\0\0\0\0\0\a\x7f\0\0\x4\x37\0\0\0\0\x2\0\0\0\a\x80\0\0\0\0\0\0\0\0\0\0\x3\xbe\0\0\x2\xfb)
[Troubleshooting]
force_raster_widgets=1

View File

@@ -29,6 +29,10 @@
"hyprland/window": {
"rewrite": {
"swappy": "Swappy",
"Support Hyprland": "Hyprland",
"MainPicker": "Hyprland",
"Hyprland Updated": "Hyprland",
"Cider": "Apple Music",
"SCPSL": "SCP: Secret Laboratory",
"Sober": "Roblox",

8
scripts/lib/games.txt Normal file
View File

@@ -0,0 +1,8 @@
Regretevator %%% xdg-open roblox://placeId=4972273297
Untitled Tag Game %%% xdg-open roblox://placeId=14044547200
Doors %%% xdg-open roblox://placeId=6516141723
Pressure %%% xdg-open roblox://placeId=12411473842
The Foundation %%% xdg-open roblox://placeId=18186775539
Evade %%% xdg-open roblox://placeId=9872472334
Nico's Nextbots %%% xdg-open roblox://placeId=10118559731
Running From The Internet %%% xdg-open roblox://placeId=11195100561

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