Add gaming helper

This commit is contained in:
Ryan Hughes
2025-09-21 23:01:41 -04:00
parent be6614b2b1
commit 0a2c106a41
3 changed files with 171 additions and 1 deletions

25
bin/omarchy-setup-gaming Normal file
View File

@@ -0,0 +1,25 @@
#!/bin/bash
mkdir -p ~/.config/systemd/user/
cat > ~/.config/systemd/user/omarchy-gaming-helper.service << EOF
[Unit]
Description=Omarchy Gaming Helper
After=graphical-session.target
[Service]
Type=simple
ExecStart=$OMARCHY_PATH/default/hypr/scripts/omarchy-gaming-helper.sh
Restart=always
RestartSec=5
[Install]
WantedBy=default.target
EOF
systemctl --user daemon-reload
systemctl --user enable omarchy-gaming-helper.service
systemctl --user start omarchy-gaming-helper.service
echo "Omarchy Gaming Helper service has been installed and started."