diff options
Diffstat (limited to '.config/hypr/hyprland.conf')
-rw-r--r-- | .config/hypr/hyprland.conf | 124 |
1 files changed, 124 insertions, 0 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf new file mode 100644 index 0000000..516432d --- /dev/null +++ b/.config/hypr/hyprland.conf | |||
@@ -0,0 +1,124 @@ | |||
1 | # hyprland config | ||
2 | # https://wiki.hyprland.org/ | ||
3 | |||
4 | source = ~/.config/hypr/conf/monitor.conf | ||
5 | |||
6 | source = ~/.config/hypr/conf/autostart.conf | ||
7 | |||
8 | source = ~/.config/hypr/conf/keybinds.conf | ||
9 | |||
10 | source = ~/.config/hypr/conf/sound_brightness_notifications.conf | ||
11 | |||
12 | source = ~/.config/hypr/conf/windowrules.conf | ||
13 | |||
14 | # Some default env vars. | ||
15 | env = GDK_BACKEND,wayland,x11,* | ||
16 | env = QT_QPA_PLATFORM,wayland;xcb | ||
17 | env = CLUTTER_BACKEND,wayland | ||
18 | env = XDG_CURRENT_DESKTOP,Hyprland | ||
19 | env = XDG_SESSION_TYPE,wayland | ||
20 | env = XDG_SESSION_DESKTOP,Hyprland | ||
21 | |||
22 | env = QT_AUTO_SCREEN_SCALE_FACTOR,1 - (From the Qt documentation) enables automatic scaling, based on the monitor’s pixel density | ||
23 | env = QT_QPA_PLATFORM,wayland;xcb - Tell Qt applications to use the Wayland backend, and fall back to x11 if Wayland is unavailable | ||
24 | env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1 - Disables window decorations on Qt applications | ||
25 | env = QT_QPA_PLATFORMTHEME,qt5ct - Tells Qt based applications to pick your theme from qt5ct, use with Kvantum. | ||
26 | |||
27 | env = XCURSOR_SIZE,24 | ||
28 | env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that | ||
29 | env = SEMESTER_THEME,you got this | ||
30 | |||
31 | # For all categories, see https://wiki.hyprland.org/Configuring/Variables/ | ||
32 | input { | ||
33 | kb_layout = us | ||
34 | kb_variant = colemak | ||
35 | kb_model = | ||
36 | kb_options = | ||
37 | kb_rules = | ||
38 | numlock_by_default = true | ||
39 | |||
40 | follow_mouse = 1 | ||
41 | |||
42 | touchpad { | ||
43 | natural_scroll = true | ||
44 | } | ||
45 | |||
46 | sensitivity = 0 # -1.0 - 1.0, 0 means no modification. | ||
47 | } | ||
48 | |||
49 | general { | ||
50 | # See https://wiki.hyprland.org/Configuring/Variables/ | ||
51 | |||
52 | gaps_in = 3 | ||
53 | gaps_out = 6 | ||
54 | border_size = 2 | ||
55 | col.active_border = rgba(33ccffee) rgba(00ff99ee) 45deg | ||
56 | col.inactive_border = rgba(595959aa) | ||
57 | |||
58 | layout = dwindle | ||
59 | |||
60 | # Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on | ||
61 | allow_tearing = false | ||
62 | } | ||
63 | |||
64 | decoration { | ||
65 | # See https://wiki.hyprland.org/Configuring/Variables/ | ||
66 | |||
67 | rounding = 0 | ||
68 | |||
69 | blur { | ||
70 | enabled = true | ||
71 | size = 20 | ||
72 | passes = 1 | ||
73 | } | ||
74 | |||
75 | shadow { | ||
76 | enabled = true | ||
77 | range = 4 | ||
78 | render_power = 3 | ||
79 | color = rgba(1a1a1aee) | ||
80 | } | ||
81 | } | ||
82 | |||
83 | animations { | ||
84 | enabled = yes | ||
85 | |||
86 | # Some default animations, see https://wiki.hyprland.org/Configuring/Animations/ | ||
87 | |||
88 | bezier = myBezier, 0.05, 0.9, 0.1, 1.05 | ||
89 | |||
90 | animation = windows, 1, 7, myBezier | ||
91 | animation = windowsOut, 1, 7, default, popin 80% | ||
92 | animation = border, 1, 10, default | ||
93 | animation = borderangle, 1, 8, default | ||
94 | animation = fade, 1, 7, default | ||
95 | animation = workspaces, 1, 6, default | ||
96 | } | ||
97 | |||
98 | dwindle { | ||
99 | # See https://wiki.hyprland.org/Configuring/Dwindle-Layout/ | ||
100 | pseudotile = yes # master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below | ||
101 | preserve_split = yes # you probably want this | ||
102 | } | ||
103 | |||
104 | master { | ||
105 | # See https://wiki.hyprland.org/Configuring/Master-Layout/ | ||
106 | new_status = master | ||
107 | } | ||
108 | |||
109 | gestures { | ||
110 | # See https://wiki.hyprland.org/Configuring/Variables/ | ||
111 | workspace_swipe = on | ||
112 | } | ||
113 | |||
114 | misc { | ||
115 | # See https://wiki.hyprland.org/Configuring/Variables/ | ||
116 | force_default_wallpaper = 0 # Set to 0 or 1 to disable the anime mascot wallpapers | ||
117 | } | ||
118 | |||
119 | binds { | ||
120 | workspace_back_and_forth = true | ||
121 | } | ||
122 | |||
123 | |||
124 | exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # https://gist.github.com/brunoanc/2dea6ddf6974ba4e5d26c3139ffb7580#editing-the-configuration-file | ||