new sharp mode: disables the animations and some other stuff to make the environment more clean and minimalist. New wallpaper (again). Misc fixes including patches for new hyprland versions that won't work with the previous versions of these config files. Now launching ssh-agent at startup. Deleted obsolete fast mod in favor of the new sharp mode
This commit is contained in:
parent
d97de713a8
commit
d8eb4351a2
9 changed files with 115 additions and 42 deletions
21
.config/hypr/scripts/sharp_mode.sh
Executable file
21
.config/hypr/scripts/sharp_mode.sh
Executable file
|
|
@ -0,0 +1,21 @@
|
|||
#!/usr/bin/env sh
|
||||
|
||||
# Disables animations accros the desktop (as well as some other tweaks)
|
||||
# Similar to game mode but with the goal to enhance productivity
|
||||
# From Hyprland documentation - https://wiki.hyprland.org/0.41.2/Configuring/Uncommon-tips--tricks/#toggle-animationsbluretc-hotkey
|
||||
|
||||
HYPRGAMEMODE=$(hyprctl getoption animations:enabled | awk 'NR==1{print $2}')
|
||||
if [ "$HYPRGAMEMODE" = 1 ] ; then
|
||||
hyprctl --batch "\
|
||||
keyword animations:enabled 0;\
|
||||
keyword general:gaps_in 0;\
|
||||
keyword general:gaps_out 0;\
|
||||
keyword general:border_size 1;\
|
||||
keyword decoration:rounding 0"
|
||||
hyprctl notify 1 2000 0 "Enabled Sharp mode"
|
||||
exit
|
||||
fi
|
||||
|
||||
hyprctl reload
|
||||
# ~/.config/hypr/scripts/restore-waybar.sh
|
||||
hyprctl notify 1 2000 0 "Disabled Sharp mode"
|
||||
Loading…
Add table
Add a link
Reference in a new issue