✨ feat(hypr): added new performance script
disabled aw because of weird time calculations (have to investigate further)
This commit is contained in:
parent
04401dc33a
commit
333c30a3fb
3 changed files with 23 additions and 3 deletions
|
@ -163,3 +163,7 @@ bindle=,XF86AudioLowerVolume,exec,swayosd --output-volume lower
|
||||||
|
|
||||||
bindle=,XF86AudioMute,exec,swayosd --output-volume mute-toggle
|
bindle=,XF86AudioMute,exec,swayosd --output-volume mute-toggle
|
||||||
bindle=,XF86AudioMicMute,exec,exec swayosd --input-volume mute-toggle
|
bindle=,XF86AudioMicMute,exec,exec swayosd --input-volume mute-toggle
|
||||||
|
|
||||||
|
|
||||||
|
# Disable anim, blur, etc
|
||||||
|
bind=SUPER,F1,exec,~/.config/hypr/scripts/performance
|
||||||
|
|
|
@ -45,9 +45,9 @@ kitty --class btop-kitty btop &
|
||||||
kitty --class nvtop-kitty nvtop &
|
kitty --class nvtop-kitty nvtop &
|
||||||
|
|
||||||
# Activity Watch
|
# Activity Watch
|
||||||
aw-server-rust &
|
# aw-server-rust &
|
||||||
aw-watcher-window-wayland &
|
# aw-watcher-window-wayland &
|
||||||
aw-watcher-afk &
|
# aw-watcher-afk &
|
||||||
|
|
||||||
#Launch autostart apps
|
#Launch autostart apps
|
||||||
dex -a -s ~/.config/autostart/ & # Easyeffects, Spotify, Discord and Thunderbird
|
dex -a -s ~/.config/autostart/ & # Easyeffects, Spotify, Discord and Thunderbird
|
||||||
|
|
16
.config/hypr/scripts/performance
Executable file
16
.config/hypr/scripts/performance
Executable 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
|
Loading…
Add table
Reference in a new issue