mirror of
https://git.aramjonghu.nl/AramJonghu/hypr.git
synced 2026-06-06 20:38:24 +02:00
Compare commits
3 Commits
b6349ceaec
...
7cf2a3d08d
| Author | SHA1 | Date | |
|---|---|---|---|
|
7cf2a3d08d
|
|||
|
f387a0790e
|
|||
|
b7e706fde1
|
+3
-2
@@ -51,9 +51,10 @@ hl.bind(
|
||||
hl.bind("XF86AudioPlay", hl.dsp.exec_cmd("playerctl play-pause"), { locked = true })
|
||||
hl.bind("XF86AudioPrev", hl.dsp.exec_cmd("playerctl previous"), { locked = true })
|
||||
hl.bind("XF86AudioNext", hl.dsp.exec_cmd("playerctl next"), { locked = true })
|
||||
hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brighnessctl set +5%"), { locked = true, repeating = true })
|
||||
hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brighnessctl set -5%"), { locked = true, repeating = true })
|
||||
hl.bind("XF86WebCam", hl.dsp.exec_cmd(""), { locked = true, repeating = true })
|
||||
-- Broken on Artix -> Seems to not expose XF86 keys when not on DE (KDE Plasma worked)
|
||||
-- hl.bind("XF86MonBrightnessUp", hl.dsp.exec_cmd("brightnessctl set +5%"), { locked = true, repeating = true })
|
||||
-- hl.bind("XF86MonBrightnessDown", hl.dsp.exec_cmd("brightnessctl set -5%"), { locked = true, repeating = true })
|
||||
|
||||
hl.bind("PRINT", hl.dsp.global("zshell:screenshotFreeze"))
|
||||
hl.bind("SUPER + R", hl.dsp.global("zshell:toggle-launcher"))
|
||||
|
||||
@@ -2,17 +2,17 @@ hl.monitor({
|
||||
output = "eDP-1",
|
||||
mode = "2880x1800@120",
|
||||
position = "0x0",
|
||||
scale = 1.25,
|
||||
scale = 1,
|
||||
bitdepth = 10,
|
||||
cm = "hdr"
|
||||
cm = "hdr",
|
||||
})
|
||||
|
||||
hl.monitor({
|
||||
output = "",
|
||||
mode = "preferred",
|
||||
mode = "3840x2160@30",
|
||||
position = "auto",
|
||||
scale = 1,
|
||||
scale = 1.5,
|
||||
bitdepth = 10,
|
||||
cm = "srgb"
|
||||
cm = "srgb",
|
||||
-- mirror = "eDP-1"
|
||||
})
|
||||
|
||||
+73
-56
@@ -3,22 +3,22 @@ local C = require("modules.macchiato")
|
||||
hl.layer_rule({
|
||||
name = "blur_popups_bar",
|
||||
blur = true,
|
||||
match = {namespace = "ZShell-Bar"},
|
||||
ignore_alpha = 0.5
|
||||
match = { namespace = "ZShell-Bar" },
|
||||
ignore_alpha = 0.5,
|
||||
})
|
||||
|
||||
hl.layer_rule({
|
||||
name = "blur_popups_auth",
|
||||
blur = true,
|
||||
match = {namespace = "ZShell-Auth"},
|
||||
ignore_alpha = 0.5
|
||||
match = { namespace = "ZShell-Auth" },
|
||||
ignore_alpha = 0.5,
|
||||
})
|
||||
|
||||
hl.gesture = {
|
||||
fingers = 3,
|
||||
direction = "horizontal",
|
||||
action = "workspace",
|
||||
workspace_swipe_touch = true
|
||||
workspace_swipe_touch = true,
|
||||
}
|
||||
|
||||
hl.config({
|
||||
@@ -32,10 +32,10 @@ hl.config({
|
||||
touchpad = {
|
||||
natural_scroll = true,
|
||||
scroll_factor = 0.4,
|
||||
middle_button_emulation = true
|
||||
}
|
||||
middle_button_emulation = true,
|
||||
},
|
||||
gestures = {workspace_swipe_touch = true},
|
||||
},
|
||||
gestures = { workspace_swipe_touch = true },
|
||||
general = {
|
||||
gaps_in = 2,
|
||||
gaps_out = 2,
|
||||
@@ -43,13 +43,15 @@ hl.config({
|
||||
col = {
|
||||
active_border = {
|
||||
colors = {
|
||||
C.colors.mauveAlpha, C.colors.greenAlpha,
|
||||
C.colors.sapphireAlpha, C.colors.lavenderAlpha
|
||||
C.colors.mauveAlpha,
|
||||
C.colors.greenAlpha,
|
||||
C.colors.sapphireAlpha,
|
||||
C.colors.lavenderAlpha,
|
||||
},
|
||||
angle = 90
|
||||
angle = 90,
|
||||
},
|
||||
inactive_border = { colors = { C.colors.surface1Alpha }, angle = 90 },
|
||||
},
|
||||
inactive_border = {colors = {C.colors.surface1Alpha}, angle = 90}
|
||||
}
|
||||
},
|
||||
decoration = {
|
||||
rounding = 1,
|
||||
@@ -58,7 +60,7 @@ hl.config({
|
||||
range = 6,
|
||||
render_power = 6,
|
||||
color = C.colors.baseAlpha,
|
||||
color_inactive = C.colors.mantleAlpha
|
||||
color_inactive = C.colors.mantleAlpha,
|
||||
},
|
||||
blur = {
|
||||
enabled = true,
|
||||
@@ -73,95 +75,110 @@ hl.config({
|
||||
xray = false,
|
||||
noise = 0.05,
|
||||
popups = true,
|
||||
input_methods = true
|
||||
}
|
||||
input_methods = true,
|
||||
},
|
||||
ecosystem = {no_donation_nag = true, no_update_news = true},
|
||||
misc = {disable_hyprland_logo = true},
|
||||
debug = {full_cm_proto = true},
|
||||
dwindle = {preserve_split = true}
|
||||
},
|
||||
ecosystem = { no_donation_nag = true, no_update_news = true },
|
||||
misc = { disable_hyprland_logo = true },
|
||||
debug = { full_cm_proto = true },
|
||||
dwindle = { preserve_split = true },
|
||||
})
|
||||
|
||||
local animations = {
|
||||
{leaf = "border", enabled = true, speed = 4, bezier = "linear"}, {
|
||||
{ leaf = "border", enabled = true, speed = 4, bezier = "linear" },
|
||||
{
|
||||
leaf = "borderangle",
|
||||
enabled = false,
|
||||
speed = 3,
|
||||
bezier = "linear",
|
||||
style = "loop"
|
||||
}, {leaf = "fadeOut", enabled = true, speed = 3, bezier = "default"},
|
||||
{leaf = "fadeIn", enabled = true, speed = 4, bezier = "default"},
|
||||
{leaf = "fadeLayers", enabled = true, speed = 1, bezier = "default"},
|
||||
{leaf = "fadePopups", enabled = true, speed = 1, bezier = "default"},
|
||||
{leaf = "global", enabled = true, speed = 6, bezier = "default"}, {
|
||||
style = "loop",
|
||||
},
|
||||
{ leaf = "fadeOut", enabled = true, speed = 3, bezier = "default" },
|
||||
{ leaf = "fadeIn", enabled = true, speed = 4, bezier = "default" },
|
||||
{ leaf = "fadeLayers", enabled = true, speed = 1, bezier = "default" },
|
||||
{ leaf = "fadePopups", enabled = true, speed = 1, bezier = "default" },
|
||||
{ leaf = "global", enabled = true, speed = 6, bezier = "default" },
|
||||
{
|
||||
leaf = "layers",
|
||||
enabled = true,
|
||||
speed = 5,
|
||||
bezier = "cubic-bezier",
|
||||
style = "fade"
|
||||
style = "fade",
|
||||
},
|
||||
{
|
||||
leaf = "windows",
|
||||
enabled = true,
|
||||
speed = 3,
|
||||
bezier = "wind",
|
||||
style = "popin"
|
||||
}, {
|
||||
style = "popin",
|
||||
},
|
||||
{
|
||||
leaf = "windowsIn",
|
||||
enabled = true,
|
||||
speed = 3,
|
||||
bezier = "winIn",
|
||||
style = "popin 90%"
|
||||
}, {
|
||||
style = "popin 90%",
|
||||
},
|
||||
{
|
||||
leaf = "windowsOut",
|
||||
enabled = true,
|
||||
speed = 3,
|
||||
bezier = "winOut",
|
||||
style = "popin 90%"
|
||||
}, {
|
||||
style = "popin 90%",
|
||||
},
|
||||
{
|
||||
leaf = "windowsMove",
|
||||
enabled = true,
|
||||
speed = 1,
|
||||
bezier = "wind",
|
||||
style = "slide"
|
||||
}, {leaf = "workspaces", enabled = true, speed = 4, bezier = "default"}
|
||||
style = "slide",
|
||||
},
|
||||
{ leaf = "workspaces", enabled = true, speed = 4, bezier = "default" },
|
||||
}
|
||||
|
||||
local curves = {
|
||||
{
|
||||
name = "wind",
|
||||
config = {type = "bezier", points = {{0.05, 0.9}, {0.1, 1}}}
|
||||
config = { type = "bezier", points = { { 0.05, 0.9 }, { 0.1, 1 } } },
|
||||
},
|
||||
{
|
||||
name = "winIn",
|
||||
config = {type = "bezier", points = {{0.1, 1.0}, {0.1, 1}}}
|
||||
config = { type = "bezier", points = { { 0.1, 1.0 }, { 0.1, 1 } } },
|
||||
},
|
||||
{name = "winOut", config = {type = "bezier", points = {{1, 0.35}, {1, 1}}}},
|
||||
{name = "linear", config = {type = "bezier", points = {{1, 1}, {1, 1}}}}, {
|
||||
{ name = "winOut", config = { type = "bezier", points = { { 1, 0.35 }, { 1, 1 } } } },
|
||||
{ name = "linear", config = { type = "bezier", points = { { 1, 1 }, { 1, 1 } } } },
|
||||
{
|
||||
name = "cubic-bezier",
|
||||
config = {type = "bezier", points = {{0.215, 0.61}, {0.355, 1}}}
|
||||
}, {
|
||||
name = "easeOutQuint",
|
||||
config = {type = "bezier", points = {{0.23, 1}, {0.32, 1}}}
|
||||
}, {
|
||||
name = "easeInOutCubic",
|
||||
config = {type = "bezier", points = {{0.65, 0.05}, {0.36, 1}}}
|
||||
}, {
|
||||
name = "almostLinear",
|
||||
config = {type = "bezier", points = {{0.5, 0.5}, {0.75, 1}}}
|
||||
config = { type = "bezier", points = { { 0.215, 0.61 }, { 0.355, 1 } } },
|
||||
},
|
||||
{name = "quick", config = {type = "bezier", points = {{0.15, 0}, {0.1, 1}}}},
|
||||
{
|
||||
name = "easeOutQuint",
|
||||
config = { type = "bezier", points = { { 0.23, 1 }, { 0.32, 1 } } },
|
||||
},
|
||||
{
|
||||
name = "easeInOutCubic",
|
||||
config = { type = "bezier", points = { { 0.65, 0.05 }, { 0.36, 1 } } },
|
||||
},
|
||||
{
|
||||
name = "almostLinear",
|
||||
config = { type = "bezier", points = { { 0.5, 0.5 }, { 0.75, 1 } } },
|
||||
},
|
||||
{ name = "quick", config = { type = "bezier", points = { { 0.15, 0 }, { 0.1, 1 } } } },
|
||||
{
|
||||
name = "easy",
|
||||
config = {
|
||||
type = "spring",
|
||||
mass = 1,
|
||||
stiffness = 71.2633,
|
||||
dampening = 15.8273644
|
||||
}
|
||||
}
|
||||
dampening = 15.8273644,
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
for _, curve in ipairs(curves) do hl.curve(curve.name, curve.config) end
|
||||
for _, curve in ipairs(curves) do
|
||||
hl.curve(curve.name, curve.config)
|
||||
end
|
||||
|
||||
for _, animation in ipairs(animations) do hl.animation(animation) end
|
||||
for _, animation in ipairs(animations) do
|
||||
hl.animation(animation)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user