Update dotfiles (2026-05-10 14:27:21)

This commit is contained in:
2026-05-10 14:27:21 +02:00
parent afd1b5bd53
commit 4accd64c37
10 changed files with 69 additions and 36 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"positionX": 95, "positionX": 98,
"positionY": 986, "positionY": 1346,
"scaling": 2.2375000000000145, "scaling": 2.2375000000000145,
"zIndex": 2 "zIndex": 2
} }
+1 -1
View File
@@ -1,6 +1,6 @@
{ {
"positionX": 0, "positionX": 0,
"positionY": 932, "positionY": 1292,
"scaling": 3.7125000000000177, "scaling": 3.7125000000000177,
"zIndex": 1 "zIndex": 1
} }
+2 -2
View File
@@ -1,6 +1,6 @@
{ {
"positionX": 102, "positionX": 125,
"positionY": 932, "positionY": 1292,
"scaling": 4.05000000000002, "scaling": 4.05000000000002,
"zIndex": 0 "zIndex": 0
} }
+1 -2
View File
@@ -5,11 +5,10 @@ hl.on("hyprland.start", function()
hl.exec_cmd("sleep 3s; " .. prefix .. "/usr/bin/otd-daemon") hl.exec_cmd("sleep 3s; " .. prefix .. "/usr/bin/otd-daemon")
hl.exec_cmd("sleep 3s; " .. prefix .. "obs --scene 'Recording' --startreplaybuffer --minimize-to-tray") hl.exec_cmd("sleep 3s; " .. prefix .. "obs --scene 'Recording' --startreplaybuffer --minimize-to-tray")
hl.exec_cmd("sleep 3s; " .. prefix .. "ideskpet start") hl.exec_cmd("sleep 3s; " .. prefix .. "ideskpet start")
hl.exec_cmd("sleep 3s; " .. prefix .. "librewolf")
hl.exec_cmd("sleep 3s; " .. prefix .. "Telegram -startintray") hl.exec_cmd("sleep 3s; " .. prefix .. "Telegram -startintray")
hl.exec_cmd("sleep 3s; " .. prefix .. "discord --enable-features=WaylandLinuxDrmSyncobj --start-minimized") hl.exec_cmd("sleep 3s; " .. prefix .. "discord --enable-features=WaylandLinuxDrmSyncobj --start-minimized")
hl.exec_cmd("sleep 3s; " .. prefix .. "steam -silent") hl.exec_cmd("sleep 3s; " .. prefix .. "steam -silent")
hl.exec_cmd("sleep 3s; " .. prefix .. "~/.config/hypr/scripts/gtk.sh") hl.exec_cmd("sleep 3s; " .. prefix .. "~/.config/hypr/scripts/gtk.sh")
hl.exec_cmd("sleep 3s; " .. prefix .. "wl-paste --watch cliphist store") hl.exec_cmd("sleep 3s; " .. prefix .. "wl-paste --watch cliphist store")
hl.exec_cmd("sleep 15s; " .. prefix .. "hyprpm reload") -- hl.exec_cmd("sleep 15s; " .. prefix .. "hyprpm reload")
end) end)
+3 -3
View File
@@ -27,7 +27,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 .. " + F2", hl.dsp.exec_cmd("playerctl previous"))
hl.bind(mainMod .. " + F3", hl.dsp.exec_cmd("playerctl next")) 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("PRINT", 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:51", 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: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: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")) hl.bind("code:123", hl.dsp.exec_cmd("wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.02+ --limit 1.0"))
@@ -51,8 +51,8 @@ hl.bind(mainMod .. " + mouse:272", hl.dsp.window.drag(), { mouse = true })
hl.bind(mainMod .. " + mouse:273", hl.dsp.window.resize(), { mouse = true }) hl.bind(mainMod .. " + mouse:273", hl.dsp.window.resize(), { mouse = true })
-- Workspaces -- Workspaces
hl.bind("code:171", hl.dsp.focus({ workspace = "m+1" })) -- hl.bind("code:113", hl.dsp.focus({ workspace = "m+1" }))
hl.bind("code:173", hl.dsp.focus({ workspace = "m-1" })) -- hl.bind("code:114", hl.dsp.focus({ workspace = "m-1" }))
hl.bind("ALT + TAB", 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 .. " + TAB", hl.dsp.focus({ workspace = "m-1" }))
hl.bind(mainMod .. " + CTRL + left", hl.dsp.window.swap({ direction = "left" })) hl.bind(mainMod .. " + CTRL + left", hl.dsp.window.swap({ direction = "left" }))
+49 -25
View File
@@ -1,5 +1,30 @@
local C = require("color") 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 = "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" },
}
local curves = {
{ name = "wind", config = { type = "bezier", points = { { 0.25, 0.1 }, { 0.25, 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({ hl.config({
general = { general = {
gaps_in = 3, gaps_in = 3,
@@ -61,30 +86,29 @@ hl.config({
}, },
}) })
-- Default curves and animations, see https://wiki.hypr.land/Configuring/Advanced-and-Cool/Animations/ for _, animation in ipairs(animations) do
hl.curve("easeOutQuint", { type = "bezier", points = { { 0.23, 1 }, { 0.32, 1 } } }) hl.animation(animation)
hl.curve("easeInOutCubic", { type = "bezier", points = { { 0.65, 0.05 }, { 0.36, 1 } } }) end
hl.curve("linear", { type = "bezier", points = { { 0, 0 }, { 1, 1 } } })
hl.curve("almostLinear", { type = "bezier", points = { { 0.5, 0.5 }, { 0.75, 1 } } })
hl.curve("quick", { type = "bezier", points = { { 0.15, 0 }, { 0.1, 1 } } })
-- Default springs for _, curve in ipairs(curves) do
hl.curve("easy", { type = "spring", mass = 1, stiffness = 71.2633, dampening = 15.8273644 }) hl.curve(curve.name, curve.config)
end
hl.animation({ leaf = "global", enabled = true, speed = 10, bezier = "default" }) -- List of animation options
hl.animation({ leaf = "border", enabled = true, speed = 5.39, bezier = "easeOutQuint" }) -- "global"
hl.animation({ leaf = "windows", enabled = true, speed = 4.79, spring = "easy" }) -- "border"
hl.animation({ leaf = "windowsIn", enabled = true, speed = 4.1, spring = "easy", style = "popin 87%" }) -- "windows"
hl.animation({ leaf = "windowsOut", enabled = true, speed = 1.49, bezier = "linear", style = "popin 87%" }) -- "windowsIn"
hl.animation({ leaf = "fadeIn", enabled = true, speed = 1.73, bezier = "almostLinear" }) -- "windowsOut"
hl.animation({ leaf = "fadeOut", enabled = true, speed = 1.46, bezier = "almostLinear" }) -- "fadeIn"
hl.animation({ leaf = "fade", enabled = true, speed = 3.03, bezier = "quick" }) -- "fadeOut"
hl.animation({ leaf = "layers", enabled = true, speed = 3.81, bezier = "easeOutQuint" }) -- "fade"
hl.animation({ leaf = "layersIn", enabled = true, speed = 4, bezier = "easeOutQuint", style = "fade" }) -- "layers"
hl.animation({ leaf = "layersOut", enabled = true, speed = 1.5, bezier = "linear", style = "fade" }) -- "layersIn"
hl.animation({ leaf = "fadeLayersIn", enabled = true, speed = 1.79, bezier = "almostLinear" }) -- "layersOut"
hl.animation({ leaf = "fadeLayersOut", enabled = true, speed = 1.39, bezier = "almostLinear" }) -- "fadeLayersIn"
hl.animation({ leaf = "workspaces", enabled = true, speed = 1.94, bezier = "almostLinear", style = "fade" }) -- "fadeLayersOut"
hl.animation({ leaf = "workspacesIn", enabled = true, speed = 1.21, bezier = "almostLinear", style = "fade" }) -- "workspaces"
hl.animation({ leaf = "workspacesOut", enabled = true, speed = 1.94, bezier = "almostLinear", style = "fade" }) -- "workspacesIn"
hl.animation({ leaf = "zoomFactor", enabled = true, speed = 7, bezier = "quick" }) -- "workspacesOut"
-- "zoomFactor"
+1 -1
View File
@@ -1,5 +1,5 @@
hl.monitor({ hl.monitor({
output = "DP-1", output = "DP-2",
mode = "2560x1440@143.97", mode = "2560x1440@143.97",
position = "auto", position = "auto",
scale = "1.33", scale = "1.33",
+10
View File
@@ -54,6 +54,16 @@ hl.window_rule({
no_shadow = true, no_shadow = true,
}) })
hl.window_rule({
match = {
fullscreen_state_client = 2,
fullscreen_state_internal = 2,
class = "librewolf",
},
idle_inhibit = "always",
})
hl.window_rule({ hl.window_rule({
match = { match = {
fullscreen_state_client = 4, fullscreen_state_client = 4,