From 908876a7b81e6225716dca62798a8a545b985b7b Mon Sep 17 00:00:00 2001 From: chlorospingus Date: Thu, 13 Aug 2026 00:25:52 -0700 Subject: [PATCH] idek atp --- hypr/hyprland/animations.lua | 4 +-- hypr/hyprland/binds.lua | 1 + hypr/hyprland/config.lua | 10 +++---- hypr/hyprland/hardware/hummingbird.lua | 38 ++++++++++++++++++++++++++ hypr/hyprland/plugins.lua | 13 ++++++++- nvim/init.lua | 5 ---- 6 files changed, 58 insertions(+), 13 deletions(-) create mode 100644 hypr/hyprland/hardware/hummingbird.lua diff --git a/hypr/hyprland/animations.lua b/hypr/hyprland/animations.lua index 73cec88..d3e5813 100644 --- a/hypr/hyprland/animations.lua +++ b/hypr/hyprland/animations.lua @@ -80,14 +80,14 @@ hl.animation({ enabled = true, speed = 3, bezier = "easeOut", - style = "slidefade 15%" + style = "slide" }) hl.animation({ leaf = "specialWorkspace", enabled = true, speed = 3, bezier = "easeOut", - style = "slidefadevert 10%" + style = "slidevert 15%" }) hl.animation({ leaf = "zoomFactor", diff --git a/hypr/hyprland/binds.lua b/hypr/hyprland/binds.lua index 7111dc9..84a11eb 100644 --- a/hypr/hyprland/binds.lua +++ b/hypr/hyprland/binds.lua @@ -47,6 +47,7 @@ local function focus_window(n) local window = select_window(n) if window ~= nil then hl.dispatch(hl.dsp.focus({window = window})) + hl.dispatch(hl.dsp.window.alter_zorder({mode = 'top', window = window})) end end diff --git a/hypr/hyprland/config.lua b/hypr/hyprland/config.lua index fd44f49..eec688d 100644 --- a/hypr/hyprland/config.lua +++ b/hypr/hyprland/config.lua @@ -5,7 +5,7 @@ hl.config({ repeat_delay = 600, touchpad = { natural_scroll = true - } + }, }, general = { gaps_in = 2, @@ -18,18 +18,18 @@ hl.config({ decoration = { rounding = 12, rounding_power = 3, - -- active_opacity = 0.95, + -- active_opacity = 0.9, -- inactive_opacity = 0.9, -- fullscreen_opacity = 1.0, dim_special = 0, blur = { enabled = true, - size = 2, + size = 4, passes = 3, new_optimizations = true, ignore_opacity = true, - special = false, - brightness = 1, + special = true, + brightness = 0.8, }, shadow = { range = 12, diff --git a/hypr/hyprland/hardware/hummingbird.lua b/hypr/hyprland/hardware/hummingbird.lua new file mode 100644 index 0000000..c23380c --- /dev/null +++ b/hypr/hyprland/hardware/hummingbird.lua @@ -0,0 +1,38 @@ +hl.config({ + input = { + accel_profile = "flat", + sensitivity = 0, + follow_mouse = 2, + float_switch_override_focus = 0, + }, +}) + +hl.device({ + name = "tpps/2-elan-trackpoint", + sensitivity = 0.5, + enabled = true, +}) + +hl.device({ + name = "elan067b:00-04f3:31f8-mouse", + sensitivity = 0.5, + enabled = true, +}) + +hl.device({ + name = "pixart-hp-usb-optical-mouse", + enabled = true, +}) + +hl.monitor({ + output = "eDP-1", + mode = "preferred", + scale = 1 +}) + +hl.monitor({ + output = "", + mode = "preferred", + position = "auto", + scale = 1 +}) diff --git a/hypr/hyprland/plugins.lua b/hypr/hyprland/plugins.lua index 6f5fb87..23bc197 100644 --- a/hypr/hyprland/plugins.lua +++ b/hypr/hyprland/plugins.lua @@ -5,8 +5,19 @@ if hl.plugin.gloview ~= nil then blur = 1, strip_all_card = true, show_special = true, - above_namespaces = 'quickshell' + above_namespaces = 'quickshell', + key_close = 'v', + key_next_workspace = 'l', + key_prev_workspace = 'k', + show_empty = true, + dynamic_workspaces = false, } }}) hl.bind('SUPER + K', hl.plugin.gloview.toggle, {submap_universal = true}) +elseif hl.plugin.hyprexpo ~= nil then + hl.config({ + hyprexpo = { + }, + }) + hl.bind('SUPER + K', function() hl.plugin.hyprexpo.expo('toggle') end) end diff --git a/nvim/init.lua b/nvim/init.lua index 7f13a67..ec28c68 100644 --- a/nvim/init.lua +++ b/nvim/init.lua @@ -1,10 +1,5 @@ require('config.lazy') -local cd = io.open("/tmp/fishwd", "r") -if cd ~= nil then - vim.cmd("cd " .. cd:read("a")) -end - vim.lsp.enable({ "rust_analyzer", "jdtls",