macos tweaks

This commit is contained in:
2026-02-14 05:13:55 +01:00
parent 63223601c3
commit f84477f9b9
3 changed files with 74 additions and 41 deletions

View File

@@ -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
}
}
]
}
}

View File

@@ -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"

View File

@@ -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