diff --git a/modules/env.lua b/modules/env.lua index de82f23..974cd01 100644 --- a/modules/env.lua +++ b/modules/env.lua @@ -24,6 +24,3 @@ hl.env("XDG_CACHE_HOME", "/home/aram/.cache") hl.env("XDG_DATA_HOME", "/home/aram/.local/share") hl.env("XDG_PICTRES_HOME", "/home/aram/Pictures") hl.env("HYPRSHOT_DIR", "/home/aram/Pictures/Screenshots") - -hl.env("RUSTICL_ENABLE", "radeonsi") -hl.env("AMD_VULKAN_ICD", "RADV") diff --git a/modules/monitors.lua b/modules/monitors.lua index 2819f07..106e00f 100644 --- a/modules/monitors.lua +++ b/modules/monitors.lua @@ -1,17 +1,18 @@ hl.monitor({ output = "eDP-1", - mode = "2560x1600@60", + mode = "2880x1800@120", position = "0x0", - scale = 1.25, + scale = 1, bitdepth = 10, - cm = "srgb", + cm = "hdr", }) hl.monitor({ output = "", - mode = "highres@highrr", + mode = "3840x2160@30", position = "auto", - scale = 1, + scale = 1.5, bitdepth = 10, cm = "srgb", + -- mirror = "eDP-1" }) diff --git a/modules/settings.lua b/modules/settings.lua index 76a47b8..27cb7c7 100644 --- a/modules/settings.lua +++ b/modules/settings.lua @@ -14,6 +14,13 @@ hl.layer_rule({ ignore_alpha = 0.5, }) +hl.gesture = { + fingers = 3, + direction = "horizontal", + action = "workspace", + workspace_swipe_touch = true, +} + hl.config({ input = { kb_layout = "us", @@ -27,21 +34,23 @@ hl.config({ scroll_factor = 0.4, middle_button_emulation = true, }, - gestures = {}, }, + gestures = { workspace_swipe_touch = true }, general = { gaps_in = 2, gaps_out = 2, border_size = 2, col = { active_border = { - colors = { C.colors.mauveAlpha, C.colors.greenAlpha, C.colors.sapphireAlpha, C.colors.lavenderAlpha }, - angle = 90, - }, - inactive_border = { - colors = { C.colors.surface1Alpha }, + colors = { + C.colors.mauveAlpha, + C.colors.greenAlpha, + C.colors.sapphireAlpha, + C.colors.lavenderAlpha, + }, angle = 90, }, + inactive_border = { colors = { C.colors.surface1Alpha }, angle = 90 }, }, }, decoration = { @@ -69,48 +78,101 @@ hl.config({ input_methods = true, }, }, - ecosystem = { - no_donation_nag = true, - no_update_news = true, - }, - misc = { - disable_hyprland_logo = true, - }, - debug = { - full_cm_proto = true, - }, - dwindle = { - preserve_split = true, - }, + ecosystem = { no_donation_nag = true, no_update_news = true }, + misc = { disable_hyprland_logo = true }, + debug = { full_cm_proto = true }, + dwindle = { preserve_split = true }, }) local animations = { { leaf = "border", enabled = true, speed = 4, bezier = "linear" }, - { leaf = "borderangle", enabled = false, speed = 3, bezier = "linear", style = "loop" }, + { + leaf = "borderangle", + enabled = false, + speed = 3, + bezier = "linear", + style = "loop", + }, { leaf = "fadeOut", enabled = true, speed = 3, bezier = "default" }, { leaf = "fadeIn", enabled = true, speed = 4, bezier = "default" }, { leaf = "fadeLayers", enabled = true, speed = 1, bezier = "default" }, { leaf = "fadePopups", enabled = true, speed = 1, bezier = "default" }, { leaf = "global", enabled = true, speed = 6, bezier = "default" }, - { leaf = "layers", enabled = true, speed = 5, bezier = "cubic-bezier", style = "fade" }, - { leaf = "windows", enabled = true, speed = 3, bezier = "wind", style = "popin" }, - { leaf = "windowsIn", enabled = true, speed = 3, bezier = "winIn", style = "popin 90%" }, - { leaf = "windowsOut", enabled = true, speed = 3, bezier = "winOut", style = "popin 90%" }, - { leaf = "windowsMove", enabled = true, speed = 1, bezier = "wind", style = "slide" }, + { + leaf = "layers", + enabled = true, + speed = 5, + bezier = "cubic-bezier", + style = "fade", + }, + { + leaf = "windows", + enabled = true, + speed = 3, + bezier = "wind", + style = "popin", + }, + { + leaf = "windowsIn", + enabled = true, + speed = 3, + bezier = "winIn", + style = "popin 90%", + }, + { + leaf = "windowsOut", + enabled = true, + speed = 3, + bezier = "winOut", + style = "popin 90%", + }, + { + leaf = "windowsMove", + enabled = true, + speed = 1, + bezier = "wind", + style = "slide", + }, { leaf = "workspaces", enabled = true, speed = 4, bezier = "default" }, } local curves = { - { name = "wind", config = { type = "bezier", points = { { 0.05, 0.9 }, { 0.1, 1 } } } }, - { name = "winIn", config = { type = "bezier", points = { { 0.1, 1.0 }, { 0.1, 1 } } } }, + { + name = "wind", + config = { type = "bezier", points = { { 0.05, 0.9 }, { 0.1, 1 } } }, + }, + { + name = "winIn", + config = { type = "bezier", points = { { 0.1, 1.0 }, { 0.1, 1 } } }, + }, { name = "winOut", config = { type = "bezier", points = { { 1, 0.35 }, { 1, 1 } } } }, { name = "linear", config = { type = "bezier", points = { { 1, 1 }, { 1, 1 } } } }, - { name = "cubic-bezier", config = { type = "bezier", points = { { 0.215, 0.61 }, { 0.355, 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 = "almostLinear", config = { type = "bezier", points = { { 0.5, 0.5 }, { 0.75, 1 } } } }, + { + name = "cubic-bezier", + config = { type = "bezier", points = { { 0.215, 0.61 }, { 0.355, 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 = "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 } }, + { + name = "easy", + config = { + type = "spring", + mass = 1, + stiffness = 71.2633, + dampening = 15.8273644, + }, + }, } for _, curve in ipairs(curves) do