diff --git a/.config/Thunar/uca.xml.cgt b/.config/Thunar/uca.xml.cgt index 47f628f..6f0d65e 100644 --- a/.config/Thunar/uca.xml.cgt +++ b/.config/Thunar/uca.xml.cgt @@ -3,7 +3,7 @@ <% opt.term.icon_name %> Open <% opt.term.name %> Here - <% opt.term.workdir_command %> %f + <% opt.term.workdir_command %>%f * diff --git a/.config/ghostty/config.cgt b/.config/ghostty/config.cgt new file mode 100644 index 0000000..b7364e1 --- /dev/null +++ b/.config/ghostty/config.cgt @@ -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 + diff --git a/.config/hypr/prog-keybinds.conf.cgt b/.config/hypr/prog-keybinds.conf.cgt index abd4b06..06a7b89 100644 --- a/.config/hypr/prog-keybinds.conf.cgt +++ b/.config/hypr/prog-keybinds.conf.cgt @@ -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 %> diff --git a/cg_opts.lua b/cg_opts.lua index ec632d1..8de7307 100644 --- a/cg_opts.lua +++ b/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 = {