wezterm shortcut and a bit of a config
This commit is contained in:
parent
db901ee0ba
commit
19321169d9
@ -3,6 +3,7 @@ local wezterm = require 'wezterm'
|
|||||||
|
|
||||||
-- This will hold the configuration.
|
-- This will hold the configuration.
|
||||||
local config = wezterm.config_builder()
|
local config = wezterm.config_builder()
|
||||||
|
local act = wezterm.action
|
||||||
|
|
||||||
-- This is where you actually apply your config choices
|
-- This is where you actually apply your config choices
|
||||||
config.ssh_domains = {
|
config.ssh_domains = {
|
||||||
@ -16,13 +17,58 @@ config.ssh_domains = {
|
|||||||
username = 'anton',
|
username = 'anton',
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
config.keys = {
|
||||||
|
{ key = 'U', mods = 'CTRL|SHIFT', action = act.AttachDomain 'devhost' },
|
||||||
|
-- Detaches the domain associated with the current pane
|
||||||
|
{
|
||||||
|
key = 'D',
|
||||||
|
mods = 'CTRL|SHIFT',
|
||||||
|
action = act.DetachDomain 'CurrentPaneDomain',
|
||||||
|
},
|
||||||
|
-- Detaches the "devhost" domain
|
||||||
|
{
|
||||||
|
key = 'E',
|
||||||
|
mods = 'CTRL|SHIFT',
|
||||||
|
action = act.DetachDomain { DomainName = 'devhost' },
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
config.window_frame = {
|
||||||
|
-- The font used in the tab bar.
|
||||||
|
-- Roboto Bold is the default; this font is bundled
|
||||||
|
-- with wezterm.
|
||||||
|
-- Whatever font is selected here, it will have the
|
||||||
|
-- main font setting appended to it to pick up any
|
||||||
|
-- fallback fonts you may have used there.
|
||||||
|
font = wezterm.font { family = 'Jetbrains Mono', weight = 700 },
|
||||||
|
|
||||||
|
-- The size of the font in the tab bar.
|
||||||
|
-- Default to 10.0 on Windows but 12.0 on other systems
|
||||||
|
font_size = 15.0,
|
||||||
|
|
||||||
|
-- The overall background color of the tab bar when
|
||||||
|
-- the window is focused
|
||||||
|
active_titlebar_bg = '#333333',
|
||||||
|
|
||||||
|
-- The overall background color of the tab bar when
|
||||||
|
-- the window is not focused
|
||||||
|
inactive_titlebar_bg = '#333333',
|
||||||
|
}
|
||||||
|
|
||||||
|
config.colors = {
|
||||||
|
tab_bar = {
|
||||||
|
-- The color of the inactive tab bar edge/divider
|
||||||
|
inactive_tab_edge = '#575757',
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
-- For example, changing the color scheme: ==> A!=B
|
-- For example, changing the color scheme: ==> A!=B
|
||||||
config.color_scheme = 'OceanicMaterial'
|
config.color_scheme = 'Galaxy'
|
||||||
config.font = wezterm.font 'Menligaturized'
|
config.font = wezterm.font('Jetbrains Mono', { weight = 600 })
|
||||||
|
config.freetype_load_target = 'Light'
|
||||||
config.font_size = 16
|
config.font_size = 16
|
||||||
config.line_height = 1.15
|
config.line_height = 1.05
|
||||||
config.harfbuzz_features = { 'calt=1', 'clig=0', 'liga=0' }
|
config.harfbuzz_features = { 'calt=1', 'clig=0', 'liga=0' }
|
||||||
-- and finally, return the configuration to wezterm
|
-- and finally, return the configuration to wezterm
|
||||||
return config
|
return config
|
||||||
|
@ -9,6 +9,7 @@
|
|||||||
|
|
||||||
:applications {:keykey ["^com\\.chekazuja\\.keykey$"]
|
:applications {:keykey ["^com\\.chekazuja\\.keykey$"]
|
||||||
:kitty ["^net\\.kovidgoyal\\.kitty$"]
|
:kitty ["^net\\.kovidgoyal\\.kitty$"]
|
||||||
|
:wezterm ["^com.github.wez.wezterm$"]
|
||||||
:webapp ["^com\\.apple\\.Safari\\.WebApp\\..+$"]
|
:webapp ["^com\\.apple\\.Safari\\.WebApp\\..+$"]
|
||||||
:perplexity ["^com\\.apple\\.Safari\\.WebApp\\.F9855FA5-EDE4-4A23-A3BD-BC8ACE1CD430$"]
|
:perplexity ["^com\\.apple\\.Safari\\.WebApp\\.F9855FA5-EDE4-4A23-A3BD-BC8ACE1CD430$"]
|
||||||
:gemini ["^com\\.apple\\.Safari\\.WebApp\\.1550A740-0D4C-4C62-BA9B-438AA340471C$"]
|
:gemini ["^com\\.apple\\.Safari\\.WebApp\\.1550A740-0D4C-4C62-BA9B-438AA340471C$"]
|
||||||
@ -36,7 +37,7 @@
|
|||||||
|
|
||||||
{:des "pedals default"
|
{:des "pedals default"
|
||||||
:rules [:pedals [:left_pedal :!Tleft_command]
|
:rules [:pedals [:left_pedal :!Tleft_command]
|
||||||
[:middle_pedal :##left_command]
|
[:middle_pedal :!TSleft_option]
|
||||||
[:right_pedal :ru nil {:afterdown :ru
|
[:right_pedal :ru nil {:afterdown :ru
|
||||||
:afterup :en}]
|
:afterup :en}]
|
||||||
]}
|
]}
|
||||||
@ -90,6 +91,8 @@
|
|||||||
:rules [:capskey
|
:rules [:capskey
|
||||||
[:t [[:open "/Applications/kitty.app"] {:input :en}] :!kitty]
|
[:t [[:open "/Applications/kitty.app"] {:input :en}] :!kitty]
|
||||||
[:t [:!Ct {:input :en}] :kitty]
|
[:t [:!Ct {:input :en}] :kitty]
|
||||||
|
[:r [[:open "/Applications/WezTerm.app"] {:input :en}] :!wezterm]
|
||||||
|
[:r [:!Ct {:input :en}] :wezterm]
|
||||||
[:a [[:open "/Applications/Arc.app"] {:input :en}]]
|
[:a [[:open "/Applications/Arc.app"] {:input :en}]]
|
||||||
[:g [:open "/Users/anton/Applications/Gemini.app"] :!gemini]
|
[:g [:open "/Users/anton/Applications/Gemini.app"] :!gemini]
|
||||||
[:g :!Ch :gemini]
|
[:g :!Ch :gemini]
|
||||||
|
Loading…
Reference in New Issue
Block a user