mirror of
https://git.aramjonghu.nl/AramJonghu/hypr.git
synced 2026-06-06 20:38:24 +02:00
minor adjustments for lua conversion
This commit is contained in:
+6
-6
@@ -1,6 +1,6 @@
|
|||||||
require("binds")
|
require("modules.binds")
|
||||||
require("env")
|
require("modules.env")
|
||||||
require("executes")
|
require("modules.executes")
|
||||||
require("monitors")
|
require("modules.monitors")
|
||||||
require("settings")
|
require("modules.settings")
|
||||||
require("windowrules")
|
require("modules.windowrules")
|
||||||
|
|||||||
+4
-4
@@ -13,10 +13,10 @@ hl.bind("SUPER + H", hl.dsp.movefocus("l"))
|
|||||||
hl.bind("SUPER + L", hl.dsp.movefocus("r"))
|
hl.bind("SUPER + L", hl.dsp.movefocus("r"))
|
||||||
hl.bind("SUPER + K", hl.dsp.movefocus("u"))
|
hl.bind("SUPER + K", hl.dsp.movefocus("u"))
|
||||||
hl.bind("SUPER + J", hl.dsp.movefocus("d"))
|
hl.bind("SUPER + J", hl.dsp.movefocus("d"))
|
||||||
hl.bind("SUPER + SHIFT + L", hl.dsp.resizeactive("50 0"), { repeating = true })
|
hl.bind("SUPER + SHIFT + L", hl.dsp.window.resize({ x = 50, y = 0, relative = true }), { repeating = true })
|
||||||
hl.bind("SUPER + SHIFT + H", hl.dsp.resizeactive("-50 0"), { repeating = true })
|
hl.bind("SUPER + SHIFT + H", hl.dsp.window.resize({ x = -50, y = 0, relative = true }), { repeating = true })
|
||||||
hl.bind("SUPER + SHIFT + K", hl.dsp.resizeactive("0 -50"), { repeating = true })
|
hl.bind("SUPER + SHIFT + K", hl.dsp.window.resize({ x = 0, y = -50, relative = true }), { repeating = true })
|
||||||
hl.bind("SUPER + SHIFT + J", hl.dsp.resizeactive("0 50"), { repeating = true })
|
hl.bind("SUPER + SHIFT + J", hl.dsp.window.resize({ x = 0, y = 50, relative = true }), { repeating = true })
|
||||||
|
|
||||||
hl.bind("SUPER + 1", hl.dsp.workspace("1"))
|
hl.bind("SUPER + 1", hl.dsp.workspace("1"))
|
||||||
hl.bind("SUPER + 2", hl.dsp.workspace("2"))
|
hl.bind("SUPER + 2", hl.dsp.workspace("2"))
|
||||||
|
|||||||
+67
-66
@@ -1,86 +1,87 @@
|
|||||||
require "macchiato"
|
local color = require("macchiato")
|
||||||
|
|
||||||
hl.layer_rule({
|
hl.layer_rule({
|
||||||
name = "blur_popups_bar",
|
name = "blur_popups_bar",
|
||||||
blur = true,
|
blur = true,
|
||||||
match = { namespace = "ZShell-Bar" },
|
match = { namespace = "ZShell-Bar" },
|
||||||
ignore_alpha = 0.5,
|
ignore_alpha = 0.5,
|
||||||
},
|
}, {
|
||||||
{
|
name = "blur_popups_auth",
|
||||||
name = "blur_popups_auth",
|
blur = true,
|
||||||
blur = true,
|
match = { namespace = "ZShell-Auth" },
|
||||||
match = { namespace = "ZShell-Auth" },
|
ignore_alpha = 0.5,
|
||||||
ignore_alpha = 0.5,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
|
hl.input({
|
||||||
hl.input ({
|
kb_layout = "us",
|
||||||
kb_layout = "us",
|
kb_variant = "intl",
|
||||||
kb_variant = "intl",
|
kb_options = "fkeys:basic_13-24",
|
||||||
kb_options = "fkeys:basic_13-24",
|
sensitivity = 0,
|
||||||
sensitivity = 0,
|
accel_profile = "flat",
|
||||||
accel_profile = "flat",
|
follow_mouse = 1,
|
||||||
follow_mouse = 1,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
hl.general ({
|
hl.general({
|
||||||
gaps_in = 2,
|
gaps_in = 2,
|
||||||
gaps_out = 2,
|
gaps_out = 2,
|
||||||
border_size = 1,
|
border_size = 1,
|
||||||
col = {
|
col = {
|
||||||
active_border = { colors = { mauveAlpha, greenAlpha, sapphireAlpha, lavenderAlpha }, angle? = 90 },
|
active_border = {
|
||||||
inactive_border = { surface1Alpha, angle? = 90},
|
colors = { color.mauveAlpha, color.greenAlpha, color.sapphireAlpha, color.lavenderAlpha },
|
||||||
},
|
angle = 90,
|
||||||
|
},
|
||||||
|
inactive_border = { color.surface1Alpha, angle = 90 },
|
||||||
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
hl.decoration ({
|
hl.decoration({
|
||||||
rounding = 1,
|
rounding = 1,
|
||||||
hl.shadow ({
|
hl.shadow({
|
||||||
enabled = false,
|
enabled = false,
|
||||||
range = 6,
|
range = 6,
|
||||||
render_power = 6,
|
render_power = 6,
|
||||||
color = baseAlpha,
|
color = color.baseAlpha,
|
||||||
color_inactive = mantleAlpha,
|
color_inactive = color.mantleAlpha,
|
||||||
}),
|
}),
|
||||||
hl.blur ({
|
hl.blur({
|
||||||
enabled = false,
|
enabled = false,
|
||||||
size = 2,
|
size = 2,
|
||||||
passes = 2,
|
passes = 2,
|
||||||
new_optimizations = true,
|
new_optimizations = true,
|
||||||
ignore_opacity = true,
|
ignore_opacity = true,
|
||||||
contrast = 1.0,
|
contrast = 1.0,
|
||||||
brightness = 1.0,
|
brightness = 1.0,
|
||||||
vibrancy = 0,
|
vibrancy = 0,
|
||||||
vibrancy_darkness = 0,
|
vibrancy_darkness = 0,
|
||||||
xray = false,
|
xray = false,
|
||||||
noise = 0.05,
|
noise = 0.05,
|
||||||
popups = true,
|
popups = true,
|
||||||
input_methods = true,
|
input_methods = true,
|
||||||
}),
|
}),
|
||||||
})
|
})
|
||||||
|
|
||||||
hl.curve({ type = "brezier", points = { {0, 13}, {0, 99}, {0, 29}, {1, 1}}})
|
hl.curve({ type = "brezier", points = { { 0, 13 }, { 0, 99 }, { 0, 29 }, { 1, 1 } } })
|
||||||
hl.animation({ leaf = "windows", enabled = true, speed = 4, spring= "overshot", style = "slide" })
|
hl.animation({ leaf = "windows", enabled = true, speed = 4, spring = "overshot", style = "slide" })
|
||||||
hl.animation({ leaf = "fade", enabled = true, speed = 4, })
|
hl.animation({ leaf = "fade", enabled = true, speed = 4 })
|
||||||
hl.animation({ leaf = "border", enabled = true, speed = 4, })
|
hl.animation({ leaf = "border", enabled = true, speed = 4 })
|
||||||
hl.animation({ leaf = "workspaces", enabled = true, speed = 4, spring = "overshot", style = "slide" })
|
hl.animation({ leaf = "workspaces", enabled = true, speed = 4, spring = "overshot", style = "slide" })
|
||||||
|
|
||||||
hl.config({
|
hl.config({
|
||||||
dwindle = {
|
dwindle = {
|
||||||
pseudotile = true,
|
pseudotile = true,
|
||||||
preserve_split = true,
|
preserve_split = true,
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
|
|
||||||
hl.ecosystem ({
|
hl.ecosystem({
|
||||||
no_donation_nag = true,
|
no_donation_nag = true,
|
||||||
no_update_news = true,
|
no_update_news = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
hl.misc ({
|
hl.misc({
|
||||||
disable_hyprland_logo = true,
|
disable_hyprland_logo = true,
|
||||||
})
|
})
|
||||||
|
|
||||||
hl.debug ({
|
hl.debug({
|
||||||
full_cm_proto = true,
|
full_cm_proto = true,
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
hl.windowrule({
|
hl.window_rule({
|
||||||
name = "xwayland",
|
name = "xwayland",
|
||||||
opacity = "0.0 override",
|
opacity = "0.0 override",
|
||||||
no_anim = true,
|
no_anim = true,
|
||||||
@@ -9,25 +9,25 @@ hl.windowrule({
|
|||||||
match = { class = "^(xwaylandvideobridge)$" },
|
match = { class = "^(xwaylandvideobridge)$" },
|
||||||
})
|
})
|
||||||
|
|
||||||
hl.windowrule({
|
hl.window_rule({
|
||||||
name = "fullscreen_idling",
|
name = "fullscreen_idling",
|
||||||
idle_inhibit = "fullscreen",
|
idle_inhibit = "fullscreen",
|
||||||
match = { class = ".*" },
|
match = { class = ".*" },
|
||||||
})
|
})
|
||||||
|
|
||||||
hl.windowrule({
|
hl.window_rule({
|
||||||
name = "video_idling",
|
name = "video_idling",
|
||||||
idle_inhibit = "always",
|
idle_inhibit = "always",
|
||||||
match = { content = "video" },
|
match = { content = "video" },
|
||||||
})
|
})
|
||||||
|
|
||||||
hl.windowrule({
|
hl.window_rule({
|
||||||
name = "game_idling",
|
name = "game_idling",
|
||||||
idle_inhibit = "always",
|
idle_inhibit = "always",
|
||||||
match = { content = "game" },
|
match = { content = "game" },
|
||||||
})
|
})
|
||||||
|
|
||||||
hl.windowrule({
|
hl.window_rule({
|
||||||
name = "match_fullscreen",
|
name = "match_fullscreen",
|
||||||
idle_inhibit = "always",
|
idle_inhibit = "always",
|
||||||
match = { fullscreen_state_internal = 2, fullscreen_state_client = 2 },
|
match = { fullscreen_state_internal = 2, fullscreen_state_client = 2 },
|
||||||
|
|||||||
Reference in New Issue
Block a user