Disable animations/blur/etc. when gaming on Hyprland
- Add hyprctl command to disable animations/blur/etc. when launching a game on Hyprland - Add hyprctl command to reload config when exiting a game on Hyprland - Update hyprland submodule
This commit is contained in:
15
README.org
15
README.org
@@ -8069,6 +8069,17 @@ if [ $XDG_SESSION_DESKTOP == "dwm" ]; then
|
||||
/usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s true &
|
||||
fi
|
||||
|
||||
if [ $XDG_SESSION_DESKTOP == "Hyprland" ]; then
|
||||
hyprctl --batch "\
|
||||
keyword animations:enabled 0;\
|
||||
keyword decoration:shadow:enabled 0;\
|
||||
keyword decoration:blur:enabled 0;\
|
||||
keyword general:gaps_in 0;\
|
||||
keyword general:gaps_out 0;\
|
||||
keyword general:border_size 1;\
|
||||
keyword decoration:rounding 0" &
|
||||
fi
|
||||
|
||||
$HOME/.scripts/cpu-gpu.sh --cpu-profile-performance &
|
||||
$HOME/.scripts/cpu-gpu.sh --gpu-profile-performance &
|
||||
$HOME/.scripts/dunst.sh --pause &
|
||||
@@ -8084,6 +8095,10 @@ if [ $XDG_SESSION_DESKTOP == "dwm" ]; then
|
||||
/usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s false &
|
||||
fi
|
||||
|
||||
if [ $XDG_SESSION_DESKTOP == "Hyprland" ]; then
|
||||
hyprctl reload &
|
||||
fi
|
||||
|
||||
$HOME/.scripts/dunst.sh --unpause &
|
||||
$HOME/.scripts/cpu-gpu.sh --cpu-profile-balanced &
|
||||
$HOME/.scripts/cpu-gpu.sh --gpu-profile-adaptive &
|
||||
|
@@ -4,6 +4,10 @@ if [ $XDG_SESSION_DESKTOP == "dwm" ]; then
|
||||
/usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s false &
|
||||
fi
|
||||
|
||||
if [ $XDG_SESSION_DESKTOP == "Hyprland" ]; then
|
||||
hyprctl reload &
|
||||
fi
|
||||
|
||||
$HOME/.scripts/dunst.sh --unpause &
|
||||
$HOME/.scripts/cpu-gpu.sh --cpu-profile-balanced &
|
||||
$HOME/.scripts/cpu-gpu.sh --gpu-profile-adaptive &
|
||||
|
@@ -4,6 +4,17 @@ if [ $XDG_SESSION_DESKTOP == "dwm" ]; then
|
||||
/usr/bin/xfconf-query -c xfce4-power-manager -p /xfce4-power-manager/presentation-mode -s true &
|
||||
fi
|
||||
|
||||
if [ $XDG_SESSION_DESKTOP == "Hyprland" ]; then
|
||||
hyprctl --batch "\
|
||||
keyword animations:enabled 0;\
|
||||
keyword decoration:shadow:enabled 0;\
|
||||
keyword decoration:blur:enabled 0;\
|
||||
keyword general:gaps_in 0;\
|
||||
keyword general:gaps_out 0;\
|
||||
keyword general:border_size 1;\
|
||||
keyword decoration:rounding 0" &
|
||||
fi
|
||||
|
||||
$HOME/.scripts/cpu-gpu.sh --cpu-profile-performance &
|
||||
$HOME/.scripts/cpu-gpu.sh --gpu-profile-performance &
|
||||
$HOME/.scripts/dunst.sh --pause &
|
||||
|
Submodule hyprland/.config/hypr updated: 2c5b298ace...81c5a49817
Reference in New Issue
Block a user