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