From f84477f9b9d26d0b74006a91874c65f5c540aa5e Mon Sep 17 00:00:00 2001 From: Tomas Mirchev Date: Sat, 14 Feb 2026 05:13:55 +0100 Subject: [PATCH] macos tweaks --- config/macos/linearmouse/linearmouse.json | 90 ++++++++++++++------- config/macos/wezterm/colors/Invero Day.toml | 4 +- config/macos/wezterm/wezterm.lua | 21 +++-- 3 files changed, 74 insertions(+), 41 deletions(-) diff --git a/config/macos/linearmouse/linearmouse.json b/config/macos/linearmouse/linearmouse.json index 5a5fab1..30e8462 100644 --- a/config/macos/linearmouse/linearmouse.json +++ b/config/macos/linearmouse/linearmouse.json @@ -1,44 +1,72 @@ { - "$schema": "https:\/\/schema.linearmouse.app\/0.10.0", - "schemes": [ + "$schema" : "https:\/\/schema.linearmouse.app\/0.10.2", + "schemes" : [ + { + "buttons" : { + "universalBackForward" : true + }, + "if" : { + "device" : { + "category" : "mouse", + "productID" : "0xc52b", + "productName" : "USB Receiver", + "vendorID" : "0x46d" + } + }, + "pointer" : { + "acceleration" : 0.3, + "disableAcceleration" : false, + "speed" : 0.2 + }, + "scrolling" : { + "acceleration" : { + "vertical" : 1 + }, + "distance" : { + "vertical" : "100px" + }, + "modifiers" : { + "vertical" : { + "command" : { + "type" : "preventDefault" + } + } + }, + "reverse" : { + "vertical" : true + }, + "speed" : { + "vertical" : 0 + } + } + }, { "if" : { "device" : { - "vendorID" : "0x46d", - "productID" : "0xc52b", - "productName" : "USB Receiver", - "category" : "mouse" + "category" : "mouse", + "productID" : "0x1729", + "productName" : "SteelSeries Rival 110 Gaming Mouse", + "vendorID" : "0x1038" } }, - "scrolling": { - "reverse": { - "vertical": true + "pointer" : { + "acceleration" : 0.85, + "disableAcceleration" : true + }, + "scrolling" : { + "acceleration" : { + "vertical" : 1 }, - "speed": { - "vertical": 0 + "distance" : { + "vertical" : 3 }, - "acceleration": { - "vertical": 1 + "reverse" : { + "vertical" : true }, - "distance": { - "vertical": "100px" - }, - "modifiers": { - "vertical": { - "command": { - "type": "preventDefault" - } - } + "speed" : { + "vertical" : 0 } - }, - "buttons": { - "universalBackForward": true - }, - "pointer": { - "acceleration": 0.3, - "speed": 0.2, - "disableAcceleration": false } } ] -} +} \ No newline at end of file diff --git a/config/macos/wezterm/colors/Invero Day.toml b/config/macos/wezterm/colors/Invero Day.toml index 95c7201..f4cfab9 100644 --- a/config/macos/wezterm/colors/Invero Day.toml +++ b/config/macos/wezterm/colors/Invero Day.toml @@ -15,8 +15,8 @@ copy_mode_active_highlight_fg = { Color = "#d75f00" } copy_mode_inactive_highlight_bg = { Color = "#eeeeee" } copy_mode_inactive_highlight_fg = { Color = "#d75f00" } -ansi = ["#444444", "#ff0000", "#00af5f", "#d75f00", "#005fff", "#5f5f87", "#afd7ff", "#eeeeee"] -brights = ["#444444", "#ff0000", "#00af5f", "#d75f00", "#005fff", "#5f5f87", "#afd7ff", "#eeeeee"] +ansi = ["#444444", "#ff0000", "#00af5f", "#d75f00", "#005fff", "#5f5f87", "#005f87", "#eeeeee"] +brights = ["#444444", "#ff0000", "#00af5f", "#d75f00", "#005fff", "#5f5f87", "#005f87", "#eeeeee"] [colors.tab_bar] inactive_tab_edge = "#ff0000" diff --git a/config/macos/wezterm/wezterm.lua b/config/macos/wezterm/wezterm.lua index 1f47767..27a932d 100644 --- a/config/macos/wezterm/wezterm.lua +++ b/config/macos/wezterm/wezterm.lua @@ -8,17 +8,17 @@ config.color_scheme = "Invero Day" config.use_ime = false -- Font -config.font = wezterm.font({ family = "Maple Mono NF", weight = "Medium" }) -config.font_size = 13 +config.font = wezterm.font({ family = "Maple Mono NF", weight = "DemiBold" }) +config.font_size = 12.5 config.harfbuzz_features = { "calt=0", "clig=0", "liga=0" } -- disables alternates and ligatures -config.underline_position = -4 -config.underline_thickness = 3 +-- config.underline_position = -4 +config.underline_thickness = 2 -- Appearance config.bold_brightens_ansi_colors = false -config.window_padding = { left = "0.5cell", right = "0.5cell", top = 6, bottom = 0 } -config.window_content_alignment = { horizontal = "Center", vertical = "Top" } -config.cell_width = 0.9 +config.window_padding = { left = "0.5cell", right = "0.5cell", top = 0, bottom = 0 } +config.window_content_alignment = { horizontal = "Center", vertical = "Center" } +-- config.cell_width = 0.9 config.line_height = 0.9 -- Tabs @@ -60,13 +60,18 @@ config.keys = { key = "r", action = wezterm.action.PromptInputLine({ description = "Enter new tab title", - action = wezterm.action_callback(function(window, pane, line) + action = wezterm.action_callback(function(window, _, line) if line then window:active_tab():set_title(line) end end), }), }, + { + key = "Enter", + mods = "SHIFT", + action = wezterm.action.SendString("\n"), + }, } return config