Files
sunhat/configs/dotfiles/hyprland/laptop/.config/hypr/hyprland.conf
2025-05-22 17:56:05 -05:00

125 lines
4.2 KiB
Plaintext
Executable File

# -----------------------------------------------------
# | | | |Gib's _ __ _ __| | __ _ _ __ __| |
# | |_| | | | | '_ \| '__| |/ _` | '_ \ / _` |
# | _ | |_| | |_) | | | | (_| | | | | (_| |
# |_| |_|\__, | .__/|_| |_|\__,_|_| |_|\__,_|
# |___/|_| Config
# -----------------------------------------------------
# MONITORS
# See https://wiki.hyprland.org/Configuring/Monitors/
# -----------------------------------------------------
monitor=eDP-2,1920x1200@120,0x0,0.9,vrr,1
# -----------------------------------------------------
# WORKSPACE RULES
# https://wiki.hyprland.org/Configuring/Workspace-Rules/
# -----------------------------------------------------
#workspace = 1, monitor:eDP-2, default:true
#workspace = 2, monitor:, default:true
#workspace = 3, monitor:eDP-2
#workspace = 4, monitor:
#workspace = 5, monitor:eDP-2
#workspace = 6, monitor:
# -----------------------------------------------------
# WINDOW RULES
# https://wiki.hyprland.org/Configuring/Window-Rules/
# -----------------------------------------------------
windowrule = tile,^(gnome-connections)$
windowrule = tile,^(jumpclient.exe)$
windowrule = tile,^(Microsoft-edge)$
windowrule = tile,^(kitty)$
windowrule = tile,^(firefox)$
windowrule = tile,^(Chromium)$
windowrule = float,^(Bitwarden)$
windowrule = float,^(Cider)$
windowrule = float,^(pavucontrol)$
windowrule = float,^(blueman-manager)$
windowrule = float,^(nm-connection-editor)$
windowrule = float,^(qalculate-gtk)$
# Browser Picture in Picture
windowrulev2 = float, title:^(Picture-in-Picture)$
windowrulev2 = pin, title:^(Picture-in-Picture)$
windowrulev2 = move 69.5% 4%, title:^(Picture-in-Picture)$
# -----------------------------------------------------
# CURSOR
# -----------------------------------------------------
exec-once = hyprctl setcursor Bibata-Modern-Ice 24
cursor {
min_refresh_rate = 30
default_monitor = eDP-2
}
# -----------------------------------------------------
# NVIDIA
# https://wiki.hyprland.org/Nvidia/
# -----------------------------------------------------
source = ~/.config/hypr/conf/nvidia.conf
# -----------------------------------------------------
# KEYBOARD
# https://wiki.hyprland.org/Configuring/Variables/#input
# -----------------------------------------------------
input {
kb_layout = us
kb_variant =
kb_model =
kb_options = caps:escape
numlock_by_default = true
mouse_refocus = false
follow_mouse = 1
touchpad {
# FOR DESKTOP/MOUSE
#natural_scroll = false
# FOR LAPTOP/TOUCHPAD
natural_scroll = yes
middle_button_emulation = true
clickfinger_behavior = false
scroll_factor = 1.0 # Touchpad scroll factor
}
sensitivity = 0 # Pointer speed: -1.0 - 1.0, 0 means no modification.
}
gestures {
workspace_swipe = true
}
# -----------------------------------------------------
# Load pywal color file
# -----------------------------------------------------
source = ~/.cache/wal/colors-hyprland.conf
# -----------------------------------------------------
# Autostart
# -----------------------------------------------------
source = ~/.config/hypr/conf/autostart.conf
# -----------------------------------------------------
# Load configuration files
# -----------------------------------------------------
source = ~/.config/hypr/conf/window.conf
source = ~/.config/hypr/conf/decoration.conf
source = ~/.config/hypr/conf/layout.conf
source = ~/.config/hypr/conf/misc.conf
source = ~/.config/hypr/conf/keybinding.conf
# -----------------------------------------------------
# Animation
# -----------------------------------------------------
source = ~/.config/hypr/conf/animation.conf
# -----------------------------------------------------
# Custom
# -----------------------------------------------------
source = ~/.config/hypr/conf/custom.conf
# -----------------------------------------------------
# ML4W Configuration
# -----------------------------------------------------
source = ~/.config/hypr/conf/ml4w.conf
# -----------------------------------------------------
# Environment for xdg-desktop-portal-hyprland
# -----------------------------------------------------
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP