switch to ghostty
This commit is contained in:
parent
73a6f52960
commit
60fccad646
4 changed files with 47 additions and 6 deletions
|
@ -3,7 +3,7 @@
|
|||
<action>
|
||||
<icon><% opt.term.icon_name %></icon>
|
||||
<name>Open <% opt.term.name %> Here</name>
|
||||
<command><% opt.term.workdir_command %> %f</command>
|
||||
<command><% opt.term.workdir_command %>%f</command>
|
||||
<description></description>
|
||||
<patterns>*</patterns>
|
||||
|
||||
|
|
34
.config/ghostty/config.cgt
Normal file
34
.config/ghostty/config.cgt
Normal file
|
@ -0,0 +1,34 @@
|
|||
font-family = "<% opt.term_font %>"
|
||||
|
||||
theme = "catppuccin-mocha"
|
||||
|
||||
# Broken thanks to GNOME's influence in the Linux desktop ecosystem (thanks!)
|
||||
#background-opacity = 0.8
|
||||
|
||||
# Disable useless GTK bar
|
||||
gtk-titlebar = false
|
||||
|
||||
window-save-state = "never"
|
||||
|
||||
keybind = clear
|
||||
|
||||
keybind = ctrl+t=next_tab
|
||||
keybind = ctrl+shift+t=new_tab
|
||||
|
||||
keybind = ctrl+physical:right_bracket=increase_font_size:2
|
||||
keybind = ctrl+minus=decrease_font_size:2
|
||||
|
||||
keybind = ctrl+alt+d=jump_to_prompt:1
|
||||
keybind = ctrl+alt+u=jump_to_prompt:-1
|
||||
|
||||
keybind = ctrl+alt+v=new_split:down
|
||||
keybind = ctrl+alt+s=new_split:right
|
||||
|
||||
keybind = ctrl+alt+h=goto_split:left
|
||||
keybind = ctrl+alt+j=goto_split:bottom
|
||||
keybind = ctrl+alt+k=goto_split:top
|
||||
keybind = ctrl+alt+l=goto_split:right
|
||||
|
||||
keybind = ctrl+shift+c=copy_to_clipboard
|
||||
keybind = ctrl+shift+v=paste_from_clipboard
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
bind = SUPER, RETURN, exec, foot # need to hard-code foot here, because WezTerm is currently too incompetent for WL
|
||||
bind = SUPER, RETURN, exec, <% opt.term.command %>
|
||||
bind = SUPER CTRL, E, exec, <% opt.commands.file_manager %>
|
||||
bind = ALT, SPACE, exec, rofi -show combi
|
||||
bind = SUPER CTRL, B, exec, <% opt.commands.browser %>
|
||||
|
|
15
cg_opts.lua
15
cg_opts.lua
|
@ -19,11 +19,18 @@ opts.nvidia = false
|
|||
opts.font = "Iosevka NF"
|
||||
opts.term_font = "IosevkaTerm NFM"
|
||||
|
||||
--opts.term = {
|
||||
-- name = "Wezterm",
|
||||
-- command = "wezterm",
|
||||
-- workdir_command = "wezterm-gui start --cwd ",
|
||||
-- icon_name = "org.wezfurlong.wezterm",
|
||||
--}
|
||||
|
||||
opts.term = {
|
||||
name = "Wezterm",
|
||||
command = "wezterm",
|
||||
workdir_command = "wezterm-gui start --cwd",
|
||||
icon_name = "org.wezfurlong.wezterm",
|
||||
name = "Ghostty",
|
||||
command = "ghostty",
|
||||
workdir_command = "ghostty --working-directory=",
|
||||
icon_name = "com.mitchellh.ghostty",
|
||||
}
|
||||
|
||||
opts.cursor = {
|
||||
|
|
Loading…
Reference in a new issue