macos tweaks
This commit is contained in:
@@ -1,44 +1,72 @@
|
|||||||
{
|
{
|
||||||
"$schema": "https:\/\/schema.linearmouse.app\/0.10.0",
|
"$schema" : "https:\/\/schema.linearmouse.app\/0.10.2",
|
||||||
"schemes": [
|
"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" : {
|
"if" : {
|
||||||
"device" : {
|
"device" : {
|
||||||
"vendorID" : "0x46d",
|
"category" : "mouse",
|
||||||
"productID" : "0xc52b",
|
"productID" : "0x1729",
|
||||||
"productName" : "USB Receiver",
|
"productName" : "SteelSeries Rival 110 Gaming Mouse",
|
||||||
"category" : "mouse"
|
"vendorID" : "0x1038"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"scrolling": {
|
"pointer" : {
|
||||||
"reverse": {
|
"acceleration" : 0.85,
|
||||||
"vertical": true
|
"disableAcceleration" : true
|
||||||
},
|
},
|
||||||
"speed": {
|
"scrolling" : {
|
||||||
"vertical": 0
|
"acceleration" : {
|
||||||
|
"vertical" : 1
|
||||||
},
|
},
|
||||||
"acceleration": {
|
"distance" : {
|
||||||
"vertical": 1
|
"vertical" : 3
|
||||||
},
|
},
|
||||||
"distance": {
|
"reverse" : {
|
||||||
"vertical": "100px"
|
"vertical" : true
|
||||||
},
|
},
|
||||||
"modifiers": {
|
"speed" : {
|
||||||
"vertical": {
|
"vertical" : 0
|
||||||
"command": {
|
|
||||||
"type": "preventDefault"
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
|
||||||
"buttons": {
|
|
||||||
"universalBackForward": true
|
|
||||||
},
|
|
||||||
"pointer": {
|
|
||||||
"acceleration": 0.3,
|
|
||||||
"speed": 0.2,
|
|
||||||
"disableAcceleration": false
|
|
||||||
}
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -15,8 +15,8 @@ copy_mode_active_highlight_fg = { Color = "#d75f00" }
|
|||||||
copy_mode_inactive_highlight_bg = { Color = "#eeeeee" }
|
copy_mode_inactive_highlight_bg = { Color = "#eeeeee" }
|
||||||
copy_mode_inactive_highlight_fg = { Color = "#d75f00" }
|
copy_mode_inactive_highlight_fg = { Color = "#d75f00" }
|
||||||
|
|
||||||
ansi = ["#444444", "#ff0000", "#00af5f", "#d75f00", "#005fff", "#5f5f87", "#afd7ff", "#eeeeee"]
|
ansi = ["#444444", "#ff0000", "#00af5f", "#d75f00", "#005fff", "#5f5f87", "#005f87", "#eeeeee"]
|
||||||
brights = ["#444444", "#ff0000", "#00af5f", "#d75f00", "#005fff", "#5f5f87", "#afd7ff", "#eeeeee"]
|
brights = ["#444444", "#ff0000", "#00af5f", "#d75f00", "#005fff", "#5f5f87", "#005f87", "#eeeeee"]
|
||||||
|
|
||||||
[colors.tab_bar]
|
[colors.tab_bar]
|
||||||
inactive_tab_edge = "#ff0000"
|
inactive_tab_edge = "#ff0000"
|
||||||
|
|||||||
@@ -8,17 +8,17 @@ config.color_scheme = "Invero Day"
|
|||||||
config.use_ime = false
|
config.use_ime = false
|
||||||
|
|
||||||
-- Font
|
-- Font
|
||||||
config.font = wezterm.font({ family = "Maple Mono NF", weight = "Medium" })
|
config.font = wezterm.font({ family = "Maple Mono NF", weight = "DemiBold" })
|
||||||
config.font_size = 13
|
config.font_size = 12.5
|
||||||
config.harfbuzz_features = { "calt=0", "clig=0", "liga=0" } -- disables alternates and ligatures
|
config.harfbuzz_features = { "calt=0", "clig=0", "liga=0" } -- disables alternates and ligatures
|
||||||
config.underline_position = -4
|
-- config.underline_position = -4
|
||||||
config.underline_thickness = 3
|
config.underline_thickness = 2
|
||||||
|
|
||||||
-- Appearance
|
-- Appearance
|
||||||
config.bold_brightens_ansi_colors = false
|
config.bold_brightens_ansi_colors = false
|
||||||
config.window_padding = { left = "0.5cell", right = "0.5cell", top = 6, bottom = 0 }
|
config.window_padding = { left = "0.5cell", right = "0.5cell", top = 0, bottom = 0 }
|
||||||
config.window_content_alignment = { horizontal = "Center", vertical = "Top" }
|
config.window_content_alignment = { horizontal = "Center", vertical = "Center" }
|
||||||
config.cell_width = 0.9
|
-- config.cell_width = 0.9
|
||||||
config.line_height = 0.9
|
config.line_height = 0.9
|
||||||
|
|
||||||
-- Tabs
|
-- Tabs
|
||||||
@@ -60,13 +60,18 @@ config.keys = {
|
|||||||
key = "r",
|
key = "r",
|
||||||
action = wezterm.action.PromptInputLine({
|
action = wezterm.action.PromptInputLine({
|
||||||
description = "Enter new tab title",
|
description = "Enter new tab title",
|
||||||
action = wezterm.action_callback(function(window, pane, line)
|
action = wezterm.action_callback(function(window, _, line)
|
||||||
if line then
|
if line then
|
||||||
window:active_tab():set_title(line)
|
window:active_tab():set_title(line)
|
||||||
end
|
end
|
||||||
end),
|
end),
|
||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key = "Enter",
|
||||||
|
mods = "SHIFT",
|
||||||
|
action = wezterm.action.SendString("\n"),
|
||||||
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
return config
|
return config
|
||||||
|
|||||||
Reference in New Issue
Block a user