Browse Source

20261016: add .luarc.json for hyprland

main
64味小菜 3 weeks ago
parent
commit
15e78a0f2d
  1. 5
      .config/hypr/.luarc.json
  2. 2
      .config/hypr/land/general.lua
  3. 7
      .config/hypr/land/rules.lua

5
.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"]
}

2
.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,
}

7
.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',

Loading…
Cancel
Save