Update dotfiles (2026-05-11 20:12:17)
This commit is contained in:
@@ -1,114 +1,36 @@
|
||||
local C = require("color")
|
||||
|
||||
local animations = {
|
||||
{ leaf = "global", enabled = true, speed = 10, bezier = "default" },
|
||||
{ leaf = "border", enabled = true, speed = 10, bezier = "default" },
|
||||
{ leaf = "windows", enabled = true, speed = 3, bezier = "default" },
|
||||
{ leaf = "windowsIn", enabled = true, speed = 3, bezier = "default" },
|
||||
{ leaf = "windowsOut", enabled = true, speed = 3, bezier = "default" },
|
||||
{ leaf = "windowsMove", enabled = true, speed = 1, bezier = "default" },
|
||||
{ leaf = "border", enabled = true, speed = 10, bezier = "linear" },
|
||||
{ leaf = "borderangle", enabled = true, speed = 3, bezier = "linear", style = "loop" },
|
||||
{ leaf = "fadeOut", enabled = true, speed = 3, bezier = "default" },
|
||||
{ leaf = "fadeIn", enabled = true, speed = 4, bezier = "default" },
|
||||
{ leaf = "workspaces", enabled = true, speed = 4, bezier = "default" },
|
||||
{ leaf = "layers", enabled = true, speed = 5, bezier = "default" },
|
||||
{ leaf = "fadeLayers", enabled = true, speed = 1, bezier = "default" },
|
||||
{ leaf = "fadePopups", enabled = true, speed = 1, bezier = "default" },
|
||||
{ leaf = "global", enabled = true, speed = 10, bezier = "default" },
|
||||
{ leaf = "layers", enabled = true, speed = 5, bezier = "cubic-bezier", style = "fade" },
|
||||
{ leaf = "windows", enabled = true, speed = 3, bezier = "wind", style = "popin" },
|
||||
{ leaf = "windowsIn", enabled = true, speed = 3, bezier = "winIn", style = "popin 70%" },
|
||||
{ leaf = "windowsOut", enabled = true, speed = 3, bezier = "winOut", style = "popin 80%" },
|
||||
{ leaf = "windowsMove", enabled = true, speed = 1, bezier = "wind", style = "slide" },
|
||||
{ leaf = "workspaces", enabled = true, speed = 4, bezier = "default" },
|
||||
}
|
||||
|
||||
local curves = {
|
||||
{ name = "wind", config = { type = "bezier", points = { { 0.25, 0.1 }, { 0.25, 1 } } } },
|
||||
{ name = "wind", config = { type = "bezier", points = { { 0.05, 0.9 }, { 0.1, 1 } } } },
|
||||
{ name = "winIn", 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 = "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 = "linear", config = { type = "bezier", points = { { 0, 0 }, { 1, 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 } },
|
||||
}
|
||||
|
||||
hl.config({
|
||||
general = {
|
||||
gaps_in = 3,
|
||||
gaps_out = 6,
|
||||
|
||||
border_size = 2,
|
||||
|
||||
col = {
|
||||
active_border = { colors = { C.colors.vivian1, C.colors.ado }, angle = 90 },
|
||||
inactive_border = { colors = { C.colors.pink, C.colors.vivian2 }, angle = 60 },
|
||||
},
|
||||
|
||||
-- Set to true to enable resizing windows by clicking and dragging on borders and gaps
|
||||
resize_on_border = true,
|
||||
|
||||
-- Please see https://wiki.hypr.land/Configuring/Advanced-and-Cool/Tearing/ before you turn this on
|
||||
allow_tearing = false,
|
||||
|
||||
layout = "dwindle",
|
||||
},
|
||||
|
||||
decoration = {
|
||||
rounding = 10,
|
||||
rounding_power = 2,
|
||||
|
||||
-- Change transparency of focused and unfocused windows
|
||||
active_opacity = 1.0,
|
||||
inactive_opacity = 1.0,
|
||||
|
||||
shadow = {
|
||||
enabled = true,
|
||||
range = 100,
|
||||
render_power = 4,
|
||||
color = 0x66000000,
|
||||
color_inactive = 0x33000000,
|
||||
offset = "0, 10",
|
||||
scale = 1,
|
||||
},
|
||||
|
||||
blur = {
|
||||
enabled = true,
|
||||
size = 2,
|
||||
passes = 3,
|
||||
new_optimizations = true,
|
||||
ignore_opacity = true,
|
||||
contrast = 1.0,
|
||||
brightness = 1.0,
|
||||
vibrancy = 0.0,
|
||||
vibrancy_darkness = 0.0,
|
||||
xray = false,
|
||||
noise = 0,
|
||||
popups = true,
|
||||
input_methods = true,
|
||||
},
|
||||
},
|
||||
|
||||
animations = {
|
||||
enabled = true,
|
||||
},
|
||||
})
|
||||
|
||||
for _, animation in ipairs(animations) do
|
||||
hl.animation(animation)
|
||||
end
|
||||
|
||||
for _, curve in ipairs(curves) do
|
||||
hl.curve(curve.name, curve.config)
|
||||
end
|
||||
|
||||
-- List of animation options
|
||||
-- "global"
|
||||
-- "border"
|
||||
-- "windows"
|
||||
-- "windowsIn"
|
||||
-- "windowsOut"
|
||||
-- "fadeIn"
|
||||
-- "fadeOut"
|
||||
-- "fade"
|
||||
-- "layers"
|
||||
-- "layersIn"
|
||||
-- "layersOut"
|
||||
-- "fadeLayersIn"
|
||||
-- "fadeLayersOut"
|
||||
-- "workspaces"
|
||||
-- "workspacesIn"
|
||||
-- "workspacesOut"
|
||||
-- "zoomFactor"
|
||||
for _, animation in ipairs(animations) do
|
||||
hl.animation(animation)
|
||||
end
|
||||
|
||||
@@ -0,0 +1,62 @@
|
||||
local C = require("color")
|
||||
|
||||
hl.config({
|
||||
general = {
|
||||
gaps_in = 3,
|
||||
gaps_out = 6,
|
||||
|
||||
border_size = 2,
|
||||
|
||||
col = {
|
||||
active_border = { colors = { C.colors.vivian1, C.colors.ado }, angle = 90 },
|
||||
inactive_border = { colors = { C.colors.pink, C.colors.vivian2 }, angle = 60 },
|
||||
},
|
||||
|
||||
-- Set to true to enable resizing windows by clicking and dragging on borders and gaps
|
||||
resize_on_border = true,
|
||||
|
||||
-- Please see https://wiki.hypr.land/Configuring/Advanced-and-Cool/Tearing/ before you turn this on
|
||||
allow_tearing = false,
|
||||
|
||||
layout = "dwindle",
|
||||
},
|
||||
|
||||
decoration = {
|
||||
rounding = 10,
|
||||
rounding_power = 2,
|
||||
|
||||
-- Change transparency of focused and unfocused windows
|
||||
active_opacity = 1.0,
|
||||
inactive_opacity = 1.0,
|
||||
|
||||
shadow = {
|
||||
enabled = true,
|
||||
range = 100,
|
||||
render_power = 4,
|
||||
color = 0x66000000,
|
||||
color_inactive = 0x33000000,
|
||||
offset = "0, 10",
|
||||
scale = 1,
|
||||
},
|
||||
|
||||
blur = {
|
||||
enabled = true,
|
||||
size = 2,
|
||||
passes = 3,
|
||||
new_optimizations = true,
|
||||
ignore_opacity = true,
|
||||
contrast = 1.0,
|
||||
brightness = 1.0,
|
||||
vibrancy = 0.0,
|
||||
vibrancy_darkness = 0.0,
|
||||
xray = false,
|
||||
noise = 0,
|
||||
popups = true,
|
||||
input_methods = true,
|
||||
},
|
||||
},
|
||||
|
||||
animations = {
|
||||
enabled = true,
|
||||
},
|
||||
})
|
||||
@@ -1,13 +1,15 @@
|
||||
-- Example binds, see https://wiki.hypr.land/Configuring/Basics/Binds/ for more
|
||||
-- closeWindowBind:set_enabled(false)
|
||||
local mainMod = "SUPER" -- Sets "Windows" key as main modifier
|
||||
local mainMod = "SUPER"
|
||||
local prefix = "app2unit -S out -- "
|
||||
local fileManager = "dolphin"
|
||||
|
||||
-- Zachjittery
|
||||
hl.bind(mainMod .. " + CTRL + RETURN", hl.dsp.exec_cmd("zshell-cli shell call visibilities toggleLauncher ''"))
|
||||
-- hl.bind(mainMod .. " + CTRL + RETURN", hl.dsp.global("zshell:toggle-launcher"))
|
||||
hl.bind(mainMod .. " + RETURN", hl.dsp.exec_cmd(prefix .. "zterm"))
|
||||
hl.bind(mainMod .. " + CTRL + RETURN", hl.dsp.global("zshell:toggle-launcher"))
|
||||
hl.bind(mainMod .. " + SHIFT + D", hl.dsp.global("zshell:toggle-drawing"))
|
||||
hl.bind(mainMod .. " + N", hl.dsp.global("zshell:toggle-nc"))
|
||||
hl.bind(mainMod .. " + SHIFT + S", hl.dsp.global("zshell:screenshot"))
|
||||
hl.bind(mainMod .. " + CTRL + S", hl.dsp.global("zshell:screenshotFreeze"))
|
||||
hl.bind(mainMod .. " + L", hl.dsp.global("zshell:lock"))
|
||||
|
||||
-- QML
|
||||
hl.bind("CTRL + mouse:274", hl.dsp.exec_cmd("ideskpet toggle-region"))
|
||||
@@ -27,7 +29,7 @@ hl.bind(mainMod .. " + F1", hl.dsp.exec_cmd("playerctl play-pause"))
|
||||
hl.bind(mainMod .. " + F2", hl.dsp.exec_cmd("playerctl previous"))
|
||||
hl.bind(mainMod .. " + F3", hl.dsp.exec_cmd("playerctl next"))
|
||||
hl.bind("PRINT", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"))
|
||||
hl.bind("code:51", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"))
|
||||
hl.bind("code:172", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle"))
|
||||
hl.bind("code:121", hl.dsp.exec_cmd("wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle"))
|
||||
hl.bind("code:122", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02-"))
|
||||
hl.bind("code:123", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02+ --limit 1.0"))
|
||||
@@ -51,8 +53,8 @@ hl.bind(mainMod .. " + mouse:272", hl.dsp.window.drag(), { mouse = true })
|
||||
hl.bind(mainMod .. " + mouse:273", hl.dsp.window.resize(), { mouse = true })
|
||||
|
||||
-- Workspaces
|
||||
-- hl.bind("code:113", hl.dsp.focus({ workspace = "m+1" }))
|
||||
-- hl.bind("code:114", hl.dsp.focus({ workspace = "m-1" }))
|
||||
hl.bind("code:171", hl.dsp.focus({ workspace = "m+1" }))
|
||||
hl.bind("code:173", hl.dsp.focus({ workspace = "m-1" }))
|
||||
hl.bind("ALT + TAB", hl.dsp.focus({ workspace = "m+1" }))
|
||||
hl.bind(mainMod .. " + TAB", hl.dsp.focus({ workspace = "m-1" }))
|
||||
hl.bind(mainMod .. " + CTRL + left", hl.dsp.window.swap({ direction = "left" }))
|
||||
|
||||
Reference in New Issue
Block a user