moved hypr scripts

This commit is contained in:
djaidjai committed 2026-10-02 02:06:46 +02:00
1 parent 37fb63549e
commit f338147907
22 files changed
+610 -5

No files matched your search

+25
View File
@@ -0,0 +1,25 @@
#!/usr/bin/env bash
# Toggles the GAMING_PROFILE tuxedo power profile
GAMEMODE=$(tailor profile list | grep active | cut --fields 1 -d' ')
GAMING_PROFILE="GAMEINK"
DEFAULT_PROFILE="HOTHOTHOT"
function failure() {
dunstify -r 55422 -t 4000 -u normal -i ~/.icons/candy-icons/apps/scalable/teamspeak.svg "Failed to toggle power profile!"
exit 1
}
if [[ "$GAMEMODE" =~ "GAMEINK" ]] ; then
# Default profile
tailor profile set "$DEFAULT_PROFILE" || failure
dunstify -r 55422 -t 2000 -u low -i ~/.icons/candy-icons/apps/scalable/teamspeak.svg "Gaming power profile deactivated"
exit 0
else
# gaming profile
tailor profile set "$GAMING_PROFILE" || failure
dunstify -r 55422 -t 2000 -u low -i ~/.icons/candy-icons/apps/scalable/teamspeak.svg "Gaming power profile activated"
hyprctl reload
exit 0
fi
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.