home/hyprland: simplified hyprland config and added variable frame rate to save battery

This commit is contained in:
Aly Raffauf 2024-03-27 20:04:27 -04:00
parent 0035655d68
commit cfbefa1bd6

View file

@ -53,16 +53,11 @@ env = XCURSOR_SIZE,24
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = us
kb_variant =
kb_model =
kb_options =
kb_rules =
follow_mouse = 1
touchpad {
clickfinger_behavior = true
disable_while_typing = true
drag_lock = true
middle_button_emulation = true
natural_scroll = yes
@ -94,7 +89,7 @@ decoration {
blur {
enabled = true
size = 3
size = 8
passes = 1
}
@ -103,6 +98,8 @@ decoration {
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
dim_special = 0.5
layerrule = blur,waybar
layerrule = blur,fuzzel
layerrule = blur,mako
@ -142,16 +139,10 @@ gestures {
misc {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
hide_cursor_on_touch = true
disable_splash_rendering = true
disable_hyprland_logo = true
}
# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#executing for more
device {
name = epic-mouse-v1
sensitivity = -0.5
vfr = true
focus_on_activate = true
}
# Example windowrule v1
@ -195,7 +186,6 @@ bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
# Gnome-like workspaces.
bind = $mainMod, 1, exec, hyprnome --previous
bind = $mainMod, 2, exec, hyprnome