summaryrefslogtreecommitdiff
path: root/dot-config/hypr/plugins.lua
blob: d68617d3ad943b21cb6fb43c7641abbd23800cac (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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
hl.config({
	plugin = {


		-- overview = {
		--     enabled = true,
		--     disableGestures = true,
		--     panelHeight = 150,
		-- },
		-- hyprfocus {
		--     enabled = yes
		--     focus_animation = shrink
		-- animate_floating = yes
		--     animate_worksapcechange = yes
		-- }
		dynamic_cursors = {
			mode = "stretch",
			shake = {
				effects = true
			},
			-- shaperule = text, none
			-- hyprcursor {
			--     nearest = false
			-- }
			-- shaperule = clientside, none
		},
		-- scroller = {
		-- 	column_default_width = "onehalf",
		-- 	focus_edge_ms = 100,
		-- 	only_window_one = true,
		-- },
		-- chromakey_background = $background
		-- hy3 {
		--     -- disable gaps when only one window is onscreen
		--     -- 0 - always show gaps
		--     -- 1 - hide gaps with a single window onscreen
		--     -- 2 - 1 but also show the window border
		--     -- no_gaps_when_only = <int> -- default: 0

		--     -- policy controlling what happens when a node is removed from a group,
		--     -- leaving only a group
		--     -- 0 = remove the nested group
		--     -- 1 = keep the nested group
		--     -- 2 = keep the nested group only if its parent is a tab group
		--     -- node_collapse_policy = <int> -- default: 2

		--     -- offset from group split direction when only one window is in a group
		--     -- group_inset = <int> -- default: 10

		--     -- if a tab group will automatically be created for the first window spawned in a workspace
		--     -- tab_first_window = <bool>

		--     -- tab group settings
		--     tabs {
		--       -- height of the tab bar
		--       -- height = <int> -- default: 15

		--       -- padding between the tab bar and its focused node
		--       -- padding = <int> -- default: 5

		--       -- the tab bar should animate in/out from the top instead of below the window
		--       -- from_top = <bool> -- default: false

		--       -- rounding of tab bar corners
		--       -- rounding = <int> -- default: 3

		--       -- render the window title on the bar
		--       -- render_text = <bool> -- default: true

		--       -- center the window title
		--       -- text_center = <bool> -- default: false

		--       -- font to render the window title with
		--       -- text_font = <string> -- default: Sans

		--       -- height of the window title
		--       -- text_height = <int> -- default: 8

		--       -- left padding of the window title
		--       -- text_padding = <int> -- default: 3

		--       -- active tab bar segment color
		--       -- col.active = <color> -- default: 0xff32b4ff

		--       -- urgent tab bar segment color
		--       -- col.urgent = <color> -- default: 0xffff4f4f

		--       -- inactive tab bar segment color
		--       -- col.inactive = <color> -- default: 0x80808080

		--       -- active tab bar text color
		--       -- col.text.active = <color> -- default: 0xff000000

		--       -- urgent tab bar text color
		--       -- col.text.urgent = <color> -- default: 0xff000000

		--       -- inactive tab bar text color
		--       -- col.text.inactive = <color> -- default: 0xff000000
		--     }

		--     -- autotiling settings
		--     autotile {
		--       -- enable autotile
		--       -- enable = <bool> -- default: false

		--       -- make autotile-created groups ephemeral
		--       -- ephemeral_groups = <bool> -- default: true

		--       -- if a window would be squished smaller than this width, a vertical split will be created
		--       -- -1 = never automatically split vertically
		--       -- 0 = always automatically split vertically
		--
		--       -- <number> = pixel height to split at
		--       -- trigger_width = <int> -- default: 0

		--       -- if a window would be squished smaller than this height, a horizontal split will be created
		--       -- -1 = never automatically split horizontally
		--       -- 0 = always automatically split horizontally
		--       -- <number> = pixel height to split at
		--       -- trigger_height = <int> -- default: 0

		--       -- a space or comma separated list of workspace ids where autotile should be enabled
		--       -- it's possible to create an exception rule by prefixing the definition with "not:"
		--       -- workspaces = 1,2 -- autotiling will only be enabled on workspaces 1 and 2
		--       -- workspaces = not:1,2 -- autotiling will be enabled on all workspaces except 1 and 2
		--       -- workspaces = <string> -- default: all
		--     }
		-- }
		-- hyprwinwrap {
		--     class = winwrap
		-- }
	}
})

hl.plugin.dynamic_cursors.shape_rule {
	shape = "clientside",
	mode = "none",
}