-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhypr.nix
92 lines (72 loc) · 1.87 KB
/
hypr.nix
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
{ inputs, pkgs, ... }:
{
wayland.windowManager.hyprland = {
enable = true;
settings = {
debug = {
disable_logs = false;
enable_stdout_logs = true;
};
exec-once = "~/snowflake/hypr/pickRandomWallpaper.sh & waybar & chromium & kitty & hyprpaper & swayidle -w timeout 600 'hyprlock'";
monitor = ["eDP-1,preferred,auto,1"];
input = {
kb_layout = "us";
follow_mouse = 2;
touchpad = {
natural_scroll = true;
};
};
general = {
gaps_in = 5;
gaps_out = 5;
border_size = 2;
"col.active_border" = "rgba(e591b5ee) rgba(7a1330ee) 45deg";
"col.inactive_border" = "rgba(595959aa)";
};
decoration = {
rounding = 5;
drop_shadow = true;
shadow_range = 4;
"col.shadow" = "rgba(1a1a1aee)";
blur = {
enabled = true;
size = 4;
passes = 2;
noise = 0.01;
};
};
dwindle = {
pseudotile = true;
preserve_split = true;
};
master = {
new_is_master = true;
};
gestures = {
workspace_swipe = true;
workspace_swipe_cancel_ratio = 0.15;
};
misc = {
mouse_move_enables_dpms = true;
key_press_enables_dpms = true;
};
plugin = {
touch_gestures = {
sensitivity = 1.0;
workspace_swipe_fingers = 3;
workspace_swipe_edge = "d";
long_press_delay = 400;
};
};
};
plugins = [
inputs.hyprgrass.packages.${pkgs.system}.default
];
extraConfig = ''
${builtins.readFile ./hypr/mocha.conf}
${builtins.readFile ./hypr/binds.conf}
${builtins.readFile ./hypr/anims.conf}
${builtins.readFile ./hypr/windowrules.conf}
'';
};
}