dots

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | README

commit e1a0b94bfde456b76f6b5f2f85ba746d019bcd37
parent b3433b8e0360c80f0834e781c36eba229c85470e
Author: Gabriel G. de Brito <gabrielgbrito@icloud.com>
Date:   Wed,  2 Jul 2025 21:19:01 -0300

Ghostty

Diffstat:
M.profile | 4++--
MREADME.md | 8+++++++-
Dalacritty/alacritty.toml | 62--------------------------------------------------------------
Mfuzzel/fuzzel.ini | 2+-
Aghostty/config | 27+++++++++++++++++++++++++++
Mniri/config.kdl | 4++--
6 files changed, 39 insertions(+), 68 deletions(-)

diff --git a/.profile b/.profile @@ -16,6 +16,6 @@ if [ -n "$BASH_VERSION" ]; then fi fi -export PLAN9=$HOME/src/plan9port -export PATH="$HOME/.local/bin:$HOME/go/bin:$HOME/opt/bin:$HOME/opt/zig:$HOME/opt/odin:$PATH:/usr/local/go/bin:$PLAN9/bin" +export PATH="$HOME/.local/bin:$HOME/go/bin:$HOME/usr/bin:$PATH" +export TERMINAL=ghostty export EDITOR=micro diff --git a/README.md b/README.md @@ -7,7 +7,7 @@ on Micro I install the following plugins: Reproducing the setup (the full thing, the riced desktop you can use with much less stuff. This is just an annotation so I can remember how to reproduce my computer): -- alacritty +- ghostty - edk2-shell - engrampa - fail2ban @@ -88,3 +88,9 @@ Other annotations: - My setup uses mostly stuff from systemd when available: systemd-network, systemd-resolved, systemd-boot. Still didn't switched to `run0` because `base-devel` depends on `sudo` anyways. +- Add: + ``` + [Settings] + gtk-hint-font-metrics=true + ``` + To gtk4 `settings.ini` so it actually does hinting. diff --git a/alacritty/alacritty.toml b/alacritty/alacritty.toml @@ -1,62 +0,0 @@ -[window] - -resize_increments = true - -opacity = 0.90 - -decorations = "None" - -dynamic_padding = true -padding = { x = 3, y = 3 } - -[font] -normal.family = "Bitstream Vera Sans Mono" -size = 13 - -[selection] -save_to_clipboard = true - -[env] -TERM = "xterm-256color" - -[keyboard] -bindings = [ -{ key = "F11", mods = "Control|Shift", action = "ToggleFullscreen" }, -{ key = "C", mods = "Control|Shift", action = "Copy" }, -{ key = "V", mods = "Control|Shift", action = "Paste" }, -{ key = "+", mods = "Control|Shift", action = "IncreaseFontSize" }, -{ key = "-", mods = "Control|Shift", action = "DecreaseFontSize" }, -{ key = "0", mods = "Control|Shift", action = "ResetFontSize" }, -{ key = "PageUp", mods = "Control|Shift", action = "ScrollHalfPageUp" }, -{ key = "PageDown", mods = "Control|Shift", action = "ScrollHalfPageDown" }, -{ key = "F", mods = "Control|Shift", action = "SearchBackward" }, -] - -# Colors (Tomorrow Night Bright) - -# Default colors -[colors.primary] -background = '#000000' -foreground = '#eaeaea' - -# Normal colors -[colors.normal] -black = '#000000' -red = '#d54e53' -green = '#b9ca4a' -yellow = '#e6c547' -blue = '#7aa6da' -magenta = '#c397d8' -cyan = '#70c0ba' -white = '#424242' - -# Bright colors -[colors.bright] -black = '#666666' -red = '#ff3334' -green = '#9ec400' -yellow = '#e7c547' -blue = '#7aa6da' -magenta = '#b77ee0' -cyan = '#54ced6' -white = '#2a2a2a' diff --git a/fuzzel/fuzzel.ini b/fuzzel/fuzzel.ini @@ -1,6 +1,6 @@ font=Noto Sans:size=16 icon-theme=Tela-circle-dark -terminal=alacritty -e +terminal=ghostty -e keyboard-focus=on-demand diff --git a/ghostty/config b/ghostty/config @@ -0,0 +1,27 @@ +font-family = monospace +font-size = 13 +freetype-load-flags = no-monochrome,no-autohint,no-force-autohint +gtk-adwaita = false + +theme = Tomorrow Night Bright +background-opacity = 0.9 + +cursor-style = block +cursor-style-blink = false +shell-integration-features = no-cursor +cursor-click-to-move = true + +gtk-single-instance = false +quit-after-last-window-closed = true + +window-padding-x = 3 +window-padding-y = 3 +window-padding-balance = true +window-padding-color = extend + +window-decoration = none + +clipboard-read = allow +clipboard-write = allow + +clipboard-paste-protection = true diff --git a/niri/config.kdl b/niri/config.kdl @@ -120,13 +120,13 @@ spawn-at-startup "quodlibet" spawn-at-startup "gsettings" "set" "org.gnome.desktop.interface" "gtk-theme" "Kali-Dark" spawn-at-startup "gsettings" "set" "org.gnome.desktop.interface" "color-scheme" "prefer-dark" spawn-at-startup "gsettings" "set" "org.gnome.desktop.interface" "icon-theme" "Tela-circle-dark" -spawn-at-startup "gsettings" "set" "org.cinnamon.desktop.default-applications.terminal" "exec" "alacritty" +spawn-at-startup "gsettings" "set" "org.cinnamon.desktop.default-applications.terminal" "exec" "ghostty" spawn-at-startup "gsettings" "set" "org.cinnamon.desktop.default-applications.terminal" "exec-arg" "-e" binds { Mod+Slash { show-hotkey-overlay; } - Mod+Return hotkey-overlay-title="Open a Terminal" { spawn "alacritty"; } + Mod+Return hotkey-overlay-title="Open a Terminal" { spawn "ghostty"; } Mod+F hotkey-overlay-title="Open File Manager" { spawn "nemo"; } Mod+M hotkey-overlay-title="Open Music Control" { focus-workspace "music"; } Mod+A hotkey-overlay-title="Run an Application" { spawn "fuzzel"; }