summaryrefslogtreecommitdiff
path: root/.config/hypr/hyprland.conf
blob: 1edcb6ba8a4575600f9953ee4e37e5630ccb1476 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
source=binds.conf

# Settings
monitor = eDP-1, 1920x1200@60, 0x0, 1
env = XCURSOR_PATH=${XCURSOR_PATH}:/usr/share/icons
env = XCURSOR_SIZE,24
env = XCURSOR_THEME,whiteglass

exec-once = hyprctl setcursor whiteglass 24
exec-once = xrdb ~/.Xresources

# Startup
exec-once = startup
exec-once = hyprctl dispatch workspace 1

env = XDG_CURRENT_DESKTOP, Hyprland
env = XDG_SESSION_TYPE, wayland
env = XDG_SESSION_DESKTOP, Hyprland
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = start-xdg-portal-hyprland

input {
  kb_layout = us
  kb_options = ctrl:nocaps

  follow_mouse = 1

  repeat_delay = 300
  repeat_rate = 30

  accel_profile = adaptive

  touchpad {
	scroll_factor = 0.7
    natural_scroll = yes
    disable_while_typing = false
  }

  sensitivity = 0 # -1.0 - 1.0, 0 means no modification.
}

general {
  layout = master
  allow_tearing = true
  resize_on_border = false

  gaps_in = 0
  gaps_out = 0

  border_size = 0

  col.active_border = rgba(AFD7FFff)
  col.inactive_border = rgba(59595900)
}

cursor {
  no_hardware_cursors = false
  no_warps = false
  persistent_warps = true
  warp_on_change_workspace = true
}

windowrulev2 = noshadow, floating:0

decoration {
  rounding = 0
  
  blur {
    enabled = true
    size = 1
    passes = 1
  }
}

master {
  new_status = slave
  new_on_top = true
  orientation = left
  mfact = 0.5
}

misc {
  force_default_wallpaper = 1 # Set to 0 or 1 to disable the anime mascot wallpapers
  enable_anr_dialog = false
}

animations {
    enabled = yes, please :)

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

    bezier = easeOutQuint,0.23,1,0.32,1
    bezier = easeInOutCubic,0.65,0.05,0.36,1
    bezier = linear,0,0,1,1
    bezier = almostLinear,0.5,0.5,0.75,1.0
    bezier = quick,0.15,0,0.1,1

    animation = global, 1, 10, default
    animation = border, 1, 5.39, easeOutQuint

    animation = windows, 1, 4.79, easeOutQuint
    animation = windowsIn, 1, 4.1, easeOutQuint, slide
    animation = windowsOut, 1, 2, linear, slide

    animation = fadeIn, 1, 1.73, almostLinear
    animation = fadeOut, 1, 2, easeOutQuint
    animation = fade, 1, 3.03, quick

    animation = layers, 1, 3.81, easeOutQuint
    animation = layersIn, 1, 4, easeOutQuint, fade
    animation = layersOut, 1, 1.5, linear, fade
    animation = fadeLayersIn, 1, 1.79, almostLinear
    animation = fadeLayersOut, 1, 1.39, almostLinear

    animation = workspaces, 0, 1.94, almostLinear, fade
    animation = workspacesIn, 0, 1.21, almostLinear, fade
    animation = workspacesOut, 1, 1.94, almostLinear, fade
}

# Ignore maximize requests from apps. You'll probably like this.
windowrule = suppressevent maximize, class:.*
# Fix some dragging issues with XWayland
windowrule = nofocus,class:^$,title:^$,xwayland:1,floating:1,fullscreen:0,pinned:0