155 lines
4.5 KiB
Lua
155 lines
4.5 KiB
Lua
local split = require("hyprsplit")
|
|
|
|
split.config({
|
|
num_workspaces = 10,
|
|
persistent_workspaces = true,
|
|
})
|
|
|
|
hl.config({
|
|
general = {
|
|
allow_tearing = false,
|
|
border_size = 2,
|
|
col = {
|
|
active_border = {
|
|
colors = { "rgba(ff00ffee)", "rgba(ff9900ee)" },
|
|
angle = 45,
|
|
},
|
|
inactive_border = {
|
|
colors = { "rgba(00ffff99)", "rgba(0000cc99)" },
|
|
angle = 45,
|
|
},
|
|
},
|
|
gaps_in = 5,
|
|
gaps_out = 10,
|
|
layout = "hy3",
|
|
resize_on_border = true,
|
|
},
|
|
decoration = {
|
|
active_opacity = 1.000000,
|
|
blur = {
|
|
enabled = true,
|
|
passes = 1,
|
|
size = 3,
|
|
vibrancy = 0.169600,
|
|
},
|
|
inactive_opacity = 1.000000,
|
|
rounding = 5,
|
|
shadow = {
|
|
color = "rgba(1a1a1aee)",
|
|
enabled = true,
|
|
range = 5,
|
|
render_power = 3,
|
|
},
|
|
},
|
|
input = {
|
|
follow_mouse = 1,
|
|
kb_layout = "us",
|
|
kb_options = "compose:ralt",
|
|
sensitivity = 0,
|
|
touchpad = {
|
|
natural_scroll = false,
|
|
},
|
|
},
|
|
misc = {
|
|
disable_hyprland_logo = true,
|
|
force_default_wallpaper = 0,
|
|
vrr = 1,
|
|
},
|
|
debug = {
|
|
disable_logs = false,
|
|
},
|
|
cursor = {
|
|
no_hardware_cursors = true,
|
|
},
|
|
animations = {
|
|
enabled = true,
|
|
},
|
|
-- plugin = {
|
|
-- hy3 = {
|
|
-- group_inset = 10,
|
|
-- no_gaps_when_only = 0,
|
|
-- node_collapse_policy = 2,
|
|
-- tab_first_window = false,
|
|
-- tabs = {
|
|
-- height = 20,
|
|
-- rounding = 2,
|
|
-- text_height = 10,
|
|
-- },
|
|
-- },
|
|
-- },
|
|
})
|
|
|
|
hl.device({
|
|
name = "logitech-g502-1",
|
|
sensitivity = -0.200000,
|
|
})
|
|
|
|
hl.monitor({
|
|
output = "DP-2",
|
|
mode = "3440x1440@164",
|
|
position = "0x0",
|
|
})
|
|
hl.monitor({
|
|
output = "DP-1",
|
|
mode = "2560x1440",
|
|
position = "-1440x-510",
|
|
-- 0 -> normal (no transforms)
|
|
-- 1 -> 90 degrees
|
|
-- 2 -> 180 degrees
|
|
-- 3 -> 270 degrees
|
|
-- 4 -> flipped
|
|
-- 5 -> flipped + 90 degrees
|
|
-- 6 -> flipped + 180 degrees
|
|
-- 7 -> flipped + 270 degrees
|
|
transform = 1,
|
|
})
|
|
|
|
hl.workspace_rule({ workspace = "1" })
|
|
hl.workspace_rule({ workspace = "2" })
|
|
hl.workspace_rule({ workspace = "3" })
|
|
hl.workspace_rule({ workspace = "4" })
|
|
hl.workspace_rule({ workspace = "5" })
|
|
hl.workspace_rule({ workspace = "6" })
|
|
hl.workspace_rule({ workspace = "7" })
|
|
hl.workspace_rule({ workspace = "8" })
|
|
hl.workspace_rule({ workspace = "9" })
|
|
hl.workspace_rule({ workspace = "10" })
|
|
hl.workspace_rule({ workspace = "11" })
|
|
hl.workspace_rule({ workspace = "12" })
|
|
hl.workspace_rule({ workspace = "13" })
|
|
hl.workspace_rule({ workspace = "14" })
|
|
hl.workspace_rule({ workspace = "15" })
|
|
hl.workspace_rule({ workspace = "16" })
|
|
hl.workspace_rule({ workspace = "17" })
|
|
hl.workspace_rule({ workspace = "18" })
|
|
hl.workspace_rule({ workspace = "19" })
|
|
hl.workspace_rule({ workspace = "20" })
|
|
|
|
hl.window_rule({ match = "match:class Rofi", stay_focused = true })
|
|
-- hl.window_rule({ match = { class = "suppress_event maximize" }, "match:class" = ".*" })
|
|
-- hl.window_rule({ match = { class = "fullscreen 1" }, "match:class" = "^steam_app_d+$" })
|
|
-- PATTERN: MERGED with line 208
|
|
-- MIGRATION_WARNING: Window rule conflict for 'center on': 'match:class ^steam_app_d+$' (line 199) vs 'match:class Rofi' (line 208)
|
|
-- hl.window_rule({ match = { class = "center on" }, match:class = "^steam_app_d+$", match:class = "Rofi" })
|
|
-- PATTERN: MERGED with line 202
|
|
-- MIGRATION_WARNING: Window rule conflict for 'monitor 1': 'match:title ^World of Warcraft$' (line 200) vs 'match:title ^Battle.net$' (line 202)
|
|
-- MIGRATION_WARNING: Window rule conflict for 'monitor 1': 'match:title ^World of Warcraft$' (line 200) vs 'match:title ^Balatro$' (line 204)
|
|
-- MIGRATION_WARNING: Window rule conflict for 'monitor 1': 'match:title ^World of Warcraft$' (line 200) vs 'match:class steam_app_1091500' (line 206)
|
|
-- hl.window_rule({
|
|
-- match = { class = "monitor 1" },
|
|
-- match:title = "^World of Warcraft$",
|
|
-- match:title = "^Battle.net$",
|
|
-- match:title = "^Balatro$",
|
|
-- match:class = "steam_app_1091500",
|
|
-- })
|
|
-- PATTERN: MERGED with line 207
|
|
-- MIGRATION_WARNING: Window rule conflict for 'fullscreen on': 'match:title ^World of Warcraft$' (line 201) vs 'match:class steam_app_1091500' (line 207)
|
|
-- hl.window_rule({ match = { class = "fullscreen on" }, match:title = "^World of Warcraft$", match:class = "steam_app_1091500" })
|
|
-- hl.window_rule({ match = { class = "float on" }, match:title = "^Battle.net$" })
|
|
-- hl.window_rule({ match = { class = "tile on" }, match:title = "^Balatro$" })
|
|
|
|
-- Additional configs
|
|
require("config.autostart")
|
|
require("config.binds")
|
|
require("config.animation")
|