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

126 lines
4.3 KiB
Plaintext

# -----------------------------------------------------
# | | | |Gib's _ __ _ __| | __ _ _ __ __| |
# | |_| | | | | '_ \| '__| |/ _` | '_ \ / _` |
# | _ | |_| | |_) | | | | (_| | | | | (_| |
# |_| |_|\__, | .__/|_| |_|\__,_|_| |_|\__,_|
# |___/|_| Config
# -----------------------------------------------------
# MONITORS
# See https://wiki.hyprland.org/Configuring/Monitors/
# -----------------------------------------------------
monitor=DP-2,2560x1440@144,0x0,1
monitor=HDMI-1,3840x2160@75,2560x0,1.5
# -----------------------------------------------------
# WORKSPACE RULES
# https://wiki.hyprland.org/Configuring/Workspace-Rules/
# -----------------------------------------------------
workspace = 1, monitor:DP-2, default:true
workspace = 2, monitor:HDMI-A-1, default:true
workspace = 3, monitor:DP-2
workspace = 4, monitor:HDMI-A-1
workspace = 5, monitor:DP-2
workspace = 6, monitor:HDMI-A-1
# -----------------------------------------------------
# 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 {
no_hardware_cursors = true
}
# -----------------------------------------------------
# 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 =
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