Update dotfiles (2026-05-31 16:36:42)

This commit is contained in:
2026-05-31 16:36:42 +02:00
parent fc1a17b447
commit 7f5c6731aa
40 changed files with 23076 additions and 23173 deletions
+2 -1
View File
@@ -1,3 +1,5 @@
require("settings.windowrules")
require("settings.layerrules")
require("settings.animation")
require("settings.autostart")
require("settings.config")
@@ -7,4 +9,3 @@ require("settings.keybinds")
require("settings.monitor")
require("settings.misc")
require("settings.permissions")
require("settings.windowrules")
+2
View File
@@ -10,4 +10,6 @@ hl.on("hyprland.start", function()
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 .. "wl-paste --watch cliphist store")
hl.exec_cmd("sleep 3s; " .. prefix .. "solaar -b symbolic --window hide")
hl.exec_cmd("sleep 3s; " .. prefix .. "openrgb --startminimized")
end)
+29 -4
View File
@@ -2,6 +2,34 @@ local mainMod = "SUPER"
local prefix = "app2unit -S out -- "
local fileManager = "dolphin"
local MAX_ZOOM = 10
local MIN_ZOOM = 1
local ZOOM_TOGGLE_FACTOR = 1.5
---@param offset number
---@return nil
local function zoom(offset)
local current = hl.get_config("cursor.zoom_factor")
if offset ~= nil then
current = current + offset
elseif current ~= MIN_ZOOM then
current = MIN_ZOOM
else
current = ZOOM_TOGGLE_FACTOR
end
current = math.max(MIN_ZOOM, math.min(MAX_ZOOM, current))
hl.config({ cursor = { zoom_factor = current } })
end
-- Zooming
hl.bind(mainMod .. " + GRAVE", zoom)
hl.bind(mainMod .. " + mouse_down", function()
zoom(0.5)
end)
hl.bind(mainMod .. " + mouse_up", function()
zoom(-0.5)
end)
-- Zachjittery
hl.bind(mainMod .. " + RETURN", hl.dsp.exec_cmd(prefix .. "zterm"))
hl.bind(mainMod .. " + CTRL + RETURN", hl.dsp.global("zshell:toggle-launcher"))
@@ -16,10 +44,6 @@ hl.bind(
hl.dsp.exec_cmd("zshell-cli shell kill; sleep 0.5; " .. prefix .. "zshell-cli shell start")
)
-- ZOOMING HYPRLAND IS WEIRD
hl.bind(mainMod .. " + mouse_down", hl.dsp.exec_cmd("~/.config/hypr/scripts/zoomIn.sh"))
hl.bind(mainMod .. " + mouse_up", hl.dsp.exec_cmd("~/.config/hypr/scripts/zoomOut.sh"))
-- QML
hl.bind("CTRL + mouse:274", hl.dsp.exec_cmd("ideskpet toggle-region"))
hl.bind("SHIFT + mouse:274", hl.dsp.exec_cmd("ideskpet toggle-layer"))
@@ -50,6 +74,7 @@ hl.bind(mainMod .. " + T", hl.dsp.window.float({ action = "toggle" }))
hl.bind(mainMod .. " + K", hl.dsp.layout("swapsplit"))
hl.bind(mainMod .. " + J", hl.dsp.layout("togglesplit"))
hl.bind(mainMod .. " + F", hl.dsp.window.fullscreen())
hl.bind(mainMod .. " + SHIFT + F", hl.dsp.window.fullscreen_state({ internal = 3, client = 3, action = "toggle" }))
hl.bind(mainMod .. " + left", hl.dsp.focus({ direction = "left" }))
hl.bind(mainMod .. " + right", hl.dsp.focus({ direction = "right" }))
hl.bind(mainMod .. " + up", hl.dsp.focus({ direction = "up" }))
+11
View File
@@ -0,0 +1,11 @@
hl.layer_rule({
match = { namespace = "ZShell-Bar" },
blur = true,
ignore_alpha = 0.5,
})
hl.layer_rule({
match = { namespace = "ZShell-Auth" },
blur = true,
ignore_alpha = 0.5,
})
+1 -1
View File
@@ -2,5 +2,5 @@ hl.monitor({
output = "DP-2",
mode = "2560x1440@143.97",
position = "auto",
scale = "1.33",
scale = "1.25",
})
+22 -14
View File
@@ -32,6 +32,15 @@ for _, title in ipairs(titles) do
})
end
hl.window_rule({
match = {
initial_title = "Brawlhalla",
},
-- float = true,
fullscreen_state = 3,
content = "game",
})
hl.window_rule({
match = {
class = "osu!",
@@ -41,6 +50,17 @@ hl.window_rule({
content = "game",
})
hl.window_rule({
match = {
class = "hyprland-share-picker",
title = "hyprland-share-picker",
},
float = true,
pin = true,
center = true,
size = { 600, 400 },
})
hl.window_rule({
name = "fix-xwayland-drags",
match = {
@@ -65,7 +85,7 @@ hl.window_rule({
hl.window_rule({
match = {
fullscreen_state_internal = 4,
fullscreen_state_internal = 2,
},
idle_inhibit = "always",
@@ -73,7 +93,7 @@ hl.window_rule({
hl.window_rule({
match = {
fullscreen_state_client = 4,
fullscreen_state_client = 2,
},
idle_inhibit = "always",
@@ -86,15 +106,3 @@ hl.window_rule({
idle_inhibit = "always",
})
hl.layer_rule({
match = { namespace = "ZShell-Bar" },
blur = true,
ignore_alpha = 0.5,
})
hl.layer_rule({
match = { namespace = "ZShell-Auth" },
blur = true,
ignore_alpha = 0.5,
})