
# #######################################################################################
# AUTOGENERATED HYPR CONFIG.
# PLEASE USE THE CONFIG PROVIDED IN THE GIT REPO /examples/hypr.conf AND EDIT IT,
# OR EDIT THIS ONE ACCORDING TO THE WIKI INSTRUCTIONS.
# #######################################################################################

#
# Please note not all available settings / options are set here.
# For a full list, see the wiki
#


# See https://wiki.hyprland.org/Configuring/Monitors/
monitor=,preferred,auto,1
monitor=desc:Samsung Electric Company C34H89x H4ZR900171, highrr, auto, 1


# See https://wiki.hyprland.org/Configuring/Keywords/ for more

source = ~/.config/hypr/start-exec.conf
source = ~/.config/hypr/windowrules.conf
source = ~/.config/hypr/before-exit.conf
source = ~/.config/hypr/keybinds.conf
env = HYPRSHOT_DIR,/home/$USER/Pictures/Screenshots
env = XDG_MENU_PREFIX,arch-

# Some default env vars.
env = XCURSOR_SIZE,24
env = QT_QPA_PLATFORMTHEME,qt5ct # change to qt6ct if you have that

# Try to fix some electron apps
env = ELECTRON_OZONE_PLATFORM_HINT,auto

# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
    kb_layout = us
    kb_variant =
    kb_model =
    kb_options = caps:none
    kb_rules =

    follow_mouse = 1
    numlock_by_default = 1

    touchpad {
        natural_scroll = yes;
        disable_while_typing = true;
    }

    sensitivity = 0 # -1.0 to 1.0, 0 means no modification.
}
general {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    gaps_in = 3
    gaps_out = 0
    border_size = 0
    col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg
    col.inactive_border = rgba(595959aa)

    layout = dwindle

    # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
    allow_tearing = false


    snap {
        enabled = true
        window_gap = 20
        monitor_gap = 20
    }
}

decoration {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more

    rounding = 10
    rounding_power = 2



    active_opacity = 0.9
    inactive_opacity = 0.75
    fullscreen_opacity = 1
    dim_inactive = false
    dim_strength = 0.5 
    dim_special = 0.2
    dim_around = 0.4


    blur {
        enabled = true
        size = 3
        passes = 3
        special = true
    }

    shadow {
        enabled = true
        range = 4
        render_power = 3
    }

}

animations {
    enabled = true

    # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ for more

    bezier = myBezier, 0.05, 0.9, 0.1, 1.05
    animation = windows, 1, 7, myBezier
    animation = windowsOut, 1, 7, default, popin 80%
    animation = border, 1, 10, default
    animation = borderangle, 1, 8, default
    animation = fade, 1, 7, default
    animation = workspaces, 1, 6, default

    # Make special workspaces appear from bottom instead of left
    animation = specialWorkspace, 1, 3, default, slidefadevert 100%
}

dwindle {
    # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ for more
    pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
    preserve_split = yes # you probably want this
    smart_split = false
}

master {
    # See https://wiki.hyprland.org/Configuring/Master-Layout/ for more
}

gestures {
    # See https://wiki.hyprland.org/Configuring/Guestures/ for more

    # hyprlang noerror true
    gesture = 3, right, dispatcher, prevdesk
    gesture = 3, left, dispatcher, nextdesk
    # hyprlang noerror false
}

cursor {
    no_warps = 1
}

misc {
    # See https://wiki.hyprland.org/Configuring/Variables/ for more
    disable_splash_rendering = 1
    disable_hyprland_logo = 1
    focus_on_activate = 0 # This breaks vdesks
    anr_missed_pings = 10
}
ecosystem {
    no_donation_nag = 1
}
# hyprlang noerror true

plugin {
    virtual-desktops {
        names = 1:Coding, 2:Internet, 3:3,4:4, 5:Social 
        cycleworkspaces = 0
        rememberlayout = none
        notifyinit = 0
        verbose_logging = 0
    }
}
plugin {
    hyprexpo {
        columns = 3
        gap_size = 5
        bg_col = rgb(111111)
        workspace_method = first 1 # [center/first] [workspace] e.g. first 1 or center m+1

        enable_gesture = false # laptop touchpad
        gesture_fingers = 3  # 3 or 4
        gesture_distance = 300 # how far is the "max"
        gesture_positive = true # positive = swipe down. Negative = swipe up.
    }
}

# hyprlang noerror false
debug {
    disable_logs = false
}

# Example per-device config
# See https://wiki.hyprland.org/Configuring/Keywords/#per-device-input-configs for more
# device {
    # name = epic-mouse-v1
    # sensitivity = -0.5
# }
