From 15e78a0f2d860f3aa2f9dea752372d0c6327e5a6 Mon Sep 17 00:00:00 2001 From: SIGKILL64 Date: Fri, 16 Oct 2026 11:13:40 +0800 Subject: [PATCH] 20261016: add .luarc.json for hyprland --- .config/hypr/.luarc.json | 5 +++++ .config/hypr/land/general.lua | 2 +- .config/hypr/land/rules.lua | 7 +++++++ 3 files changed, 13 insertions(+), 1 deletion(-) create mode 100644 .config/hypr/.luarc.json diff --git a/.config/hypr/.luarc.json b/.config/hypr/.luarc.json new file mode 100644 index 0000000..4466a2a --- /dev/null +++ b/.config/hypr/.luarc.json @@ -0,0 +1,5 @@ +{ + "$schema": "https://raw.githubusercontent.com/LuaLS/vscode-lua/master/setting/schema.json", + "runtime.version": "Lua 5.5", + "workspace.library": ["/usr/share/hypr/stubs"] +} diff --git a/.config/hypr/land/general.lua b/.config/hypr/land/general.lua index ea3ee0b..9640c16 100644 --- a/.config/hypr/land/general.lua +++ b/.config/hypr/land/general.lua @@ -18,7 +18,7 @@ hl.monitor { output = 'DP-4', mode = '1920x1080@60', position = '320x1440', - scale = 1, + scale = 1.25, vrr = 0, } diff --git a/.config/hypr/land/rules.lua b/.config/hypr/land/rules.lua index a1dad79..f866523 100644 --- a/.config/hypr/land/rules.lua +++ b/.config/hypr/land/rules.lua @@ -27,6 +27,13 @@ hl.window_rule { workspace = 'name:ws_dp4', content = 'video', } +hl.window_rule { + name = 'videos_by_title', + match = { class = '^$', title = '^wiliwili$' }, + + workspace = 'name:ws_dp4', + content = 'video', +} hl.window_rule { name = 'photos',