aboutsummaryrefslogtreecommitdiff
path: root/.config/hypr/hyprland.conf
blob: 470f892f9cc9cb998589a8bf53ed2fecf3f651a6 (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
source = $HOME/.cache/wal/colors-hyprland.conf
autogenerated = 0

# 1. PROGRAMS
$terminal = foot
$menu = fuzzel
$browser = brave

# 2. AUTOSTART
exec-once = (hyprpm reload -n & kanshi & waybar & swaync & gammastep & hypridle)
exec-once = ~/.local/bin/setwall -n
exec-once = systemctl --user start hyprpolkitagent

plugin {
    hyprsplit {
        num_workspaces = 10
        persistent_workspaces = true
    }
}

# 3. ENVIRONMENT VARIABLES
source =  ~/.config/hypr/source/environment_variables.conf


# 4. PLUGIN SETTINGS
plugin {
    split-monitor-workspaces {
        count = 10
        keep_focused = 1
        enable_notifications = 0
        enable_persistent_workspaces = 1
    }
}

# 5. PERMISSIONS
source =  ~/.config/hypr/source/permissions.conf


# 6. LOOK AND FEEL
source = ~/.config/hypr/source/appearance.conf

# 7. INPUT
source = ~/.config/hypr/source/input.conf

# 8. KEYBINDINGS
source = ~/.config/hypr/source/keybinds.conf


##############################
### WINDOWS AND WORKSPACES ###
##############################

# See https://wiki.hypr.land/Configuring/Window-Rules/ for more
# See https://wiki.hypr.land/Configuring/Workspace-Rules/ for workspace rules

# Example windowrules that are useful

windowrule {
    # Ignore maximize requests from all apps. You'll probably like this.
    name = suppress-maximize-events
    match:class = .*

    suppress_event = maximize
}

windowrule {
    # Fix some dragging issues with XWayland
    name = fix-xwayland-drags
    match:class = ^$
    match:title = ^$
    match:xwayland = true
    match:float = true
    match:fullscreen = false
    match:pin = false

    no_focus = true
}

# Hyprland-run windowrule
windowrule {
    name = move-hyprland-run

    match:class = hyprland-run

    move = 20 monitor_h-120
    float = yes
}