mirror of
https://github.com/hyprwm/hyprland-wiki.git
synced 2025-01-09 08:59:48 +01:00
A way to minimzie Steam to tray instead of killing (#101)
Very useful tip indeed, yes
This commit is contained in:
parent
b2b81195dc
commit
ad62c1534f
1 changed files with 13 additions and 0 deletions
|
@ -32,6 +32,19 @@ bind=MOD,KEY,submap,reset
|
||||||
submap=reset
|
submap=reset
|
||||||
```
|
```
|
||||||
|
|
||||||
|
# Minimize Steam instead of killing
|
||||||
|
|
||||||
|
Steam will exit entirely when it's last window is closed using the `killactive` dispatcher.
|
||||||
|
To minimize Steam to tray, use the following script to close applications:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
if [[ $(hyprctl activewindow -j | jq -r ".class") == "Steam" ]]; then
|
||||||
|
xdotool windowunmap $(xdotool getactivewindow)
|
||||||
|
else
|
||||||
|
hyprctl dispatch killactive ""
|
||||||
|
fi
|
||||||
|
```
|
||||||
|
|
||||||
# Window Dancing
|
# Window Dancing
|
||||||
|
|
||||||
Some XWayland games like Rhythm Doctor and Friday Night Funkin' mods like to move
|
Some XWayland games like Rhythm Doctor and Friday Night Funkin' mods like to move
|
||||||
|
|
Loading…
Reference in a new issue