-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdefault.conf.lua
More file actions
149 lines (129 loc) · 4.27 KB
/
default.conf.lua
File metadata and controls
149 lines (129 loc) · 4.27 KB
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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
return {
-- Write debug output to /tmp/hyprfloat-debug.log
debug = false,
overview = {
-- Overview window sizes
target_ratio = 1.6, -- 16:10
min_w = 160,
min_h = 100,
-- Grid layout configuration
sqrt_multiplier = 1.4, -- Multiplier for calculating optimal grid dimensions
max_cols = 5, -- Maximum number of columns in grid
spacing_factor = 0.024, -- Factor for calculating gap size based on screen dimensions
min_gap = 8, -- Minimum gap between windows
margin_multiplier = 2, -- Multiplier for margin (gap * margin_multiplier)
-- Aspect ratio constraints
max_ratio = 2.2, -- Maximum width/height ratio before adjusting
min_ratio = 0.9, -- Minimum width/height ratio before adjusting
-- Shell commands to run when toggling overview
commands = {
"pkill -RTMIN+8 waybar"
}
},
dynamic_bind = {
overview = {
SUPER_LEFT = 'hyprfloat:movefocus l',
SUPER_RIGHT = 'hyprfloat:movefocus r',
SUPER_UP = 'hyprfloat:movefocus u',
SUPER_DOWN = 'hyprfloat:movefocus d'
},
tiling = {
SUPER_LEFT = 'dispatch movefocus l',
SUPER_RIGHT = 'dispatch movefocus r',
SUPER_UP = 'dispatch movefocus u',
SUPER_DOWN = 'dispatch movefocus d'
},
floating = {
SUPER_LEFT = 'hyprfloat:snap 0.0 0.5 0.0 1.0',
SUPER_RIGHT = 'hyprfloat:snap 0.5 1.0 0.0 1.0',
SUPER_UP = 'hyprfloat:center 1.25',
SUPER_DOWN = 'hyprfloat:center 0.75',
},
},
float_mode = {
-- These hyprctl commands are run when entering floating mode
tiling_commands = {
},
-- These hyprctl commands are run when entering floating mode
floating_commands = {
},
-- Shell commands to run after toggling floating status
commands = {
"pkill -RTMIN+8 waybar",
}
},
alttab = {
-- Milliseconds to wait before checking if the ALT key is held down.
-- If this is too short, the check may incorrectly report that ALT is held down.
altkey_wait_ms = 50,
-- Milliseconds to wait before opening the main selector window.
mainwindow_wait_ms = 100,
-- Show thumbnails (slower)
thumbnails = false,
-- Number of concurrent grim processes to run
max_concurrent = 8,
-- Window scale for previews
preview_scale = 0.15,
-- Display and monitor
default_monitor_index = 0,
-- Tile dimensions
base_tile_size = 160,
selected_tile_size = 180,
tile_container_size = 190,
-- Grid spacing
grid_row_spacing = 5,
grid_column_spacing = 5,
-- Window layout
window_margin_top = 10,
window_margin_bottom = 10,
window_margin_left = 10,
window_margin_right = 10,
-- Window stylesheet
stylesheet = [[
#alttab-window {
background: rgba(30, 30, 30, .75);
}
#alttab-outer {
padding:10px;
}
.tile {
background-color: transparent;
}
.tile.selected {
background-color: rgba(100, 200, 255, .30);
border: 3px solid #33ccff;
border-radius: 8px;
}
#search {
border: 1px solid #c0c0c0;
margin-bottom:20px;
}
#label1 {
margin-top:20px;
color: #ddeeff;
font-size: 16px;
font-weight: bold;
}
#label2 {
color: #ddeeff;
font-size: 16px;
}
]]
},
workspacegroup = {
icons = {
active = " ",
default = " ",
occupied = " ",
},
groups = {
{ 1, 2, 3 }, -- monitor 1
{ 4, 5, 6 }, -- monitor 2
{ 7, 8, 9 }, -- monitor 3
},
-- Shell commands to run after changing workspaces
commands = {
"pkill -RTMIN+8 waybar"
}
}
}