mirror of
https://github.com/starr-dusT/dotfiles.git
synced 2025-02-19 19:27:31 -08:00
11 lines
198 B
Bash
11 lines
198 B
Bash
#!/usr/bin/env bash
|
|
|
|
status=$(gamemoded -s)
|
|
if [ "$status" == "gamemode is inactive" ]; then
|
|
gamemoded -r &
|
|
killall swayidle
|
|
else
|
|
killall gamemoded
|
|
~/.config/sway/scripts/idle.sh
|
|
fi
|