feat(hypr): added new performance script

disabled aw because of weird time calculations (have to investigate further)
This commit is contained in:
Sergio Laín 2023-11-05 18:32:29 +01:00
parent 04401dc33a
commit 333c30a3fb
No known key found for this signature in database
GPG key ID: 14C9B8080681777B
3 changed files with 23 additions and 3 deletions

View file

@ -163,3 +163,7 @@ bindle=,XF86AudioLowerVolume,exec,swayosd --output-volume lower
bindle=,XF86AudioMute,exec,swayosd --output-volume mute-toggle
bindle=,XF86AudioMicMute,exec,exec swayosd --input-volume mute-toggle
# Disable anim, blur, etc
bind=SUPER,F1,exec,~/.config/hypr/scripts/performance

View file

@ -45,9 +45,9 @@ kitty --class btop-kitty btop &
kitty --class nvtop-kitty nvtop &
# Activity Watch
aw-server-rust &
aw-watcher-window-wayland &
aw-watcher-afk &
# aw-server-rust &
# aw-watcher-window-wayland &
# aw-watcher-afk &
#Launch autostart apps
dex -a -s ~/.config/autostart/ & # Easyeffects, Spotify, Discord and Thunderbird

View file

@ -0,0 +1,16 @@
#!/usr/bin/env sh
HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==2{print $2}')
if [ "$HYPRGAMEMODE" = 1 ]; then
hyprctl --batch "\
keyword animations:enabled 0;\
keyword decoration:drop_shadow 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"
exit
fi
hyprctl reload