From 9e91374284c0e7a6d4567c3cad8577af6dcc270f Mon Sep 17 00:00:00 2001 From: Yousef Jan Date: Sun, 10 May 2026 08:50:43 +0300 Subject: Updates --- bash/.bashrc | 7 ++++--- doom/config.el | 27 +++++++++++++++++++++++---- doom/init.el | 6 +++--- ghostty/config | 2 +- zsh/.zshrc | 8 ++++---- 5 files changed, 35 insertions(+), 15 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index b3a7c1c..44ef126 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -1,11 +1,12 @@ # .bashrc +# Custom prompt with directory in #afd7ff +PS1='[\u@\h \[\e[38;2;175;215;255m\]\w\[\e[0m\]]\$ ' + # Aliases alias python=python3 alias ls='ls -larth' -alias vim=nvim -alias tmuxa='tmux attach' -alias tmusxd='tmux detach' +alias em=emacs alias copy='xclip -selection clipboard' alias paste='xclip -o -selection clipboard' diff --git a/doom/config.el b/doom/config.el index 1413521..54d71ac 100644 --- a/doom/config.el +++ b/doom/config.el @@ -32,7 +32,10 @@ ;; There are two ways to load a theme. Both assume the theme is installed and ;; available. You can either set `doom-theme' or manually load a theme with the ;; `load-theme' function. This is the default: -(setq doom-theme 'doom-one) +(setq doom-theme 'doom-plain-dark) + +(custom-set-faces! + '(default :background "#131313" :foreground "#FCFCFC")) ;; This determines the style of line numbers in effect. If set to `nil', line ;; numbers are disabled. For relative line numbers, set this to `relative'. @@ -93,9 +96,25 @@ (require 'evil-collection)) (after! solaire-mode - (solaire-global-mode -1)) - -(defvar my/gui-transparency 85 + (solaire-global-mode -1) + (defun my/neutralize-solaire-faces (&optional _frame) + "Force solaire's lighter backgrounds to match the default background." + (dolist (face '(solaire-default-face + solaire-hl-line-face + solaire-org-hide-face + solaire-mode-line-face + solaire-mode-line-inactive-face + solaire-header-line-face + solaire-header-line-inactive-face + solaire-line-number-face + solaire-fringe-face)) + (when (facep face) + (set-face-attribute face nil :background 'unspecified :inherit 'default)))) + (my/neutralize-solaire-faces) + (add-hook 'doom-load-theme-hook #'my/neutralize-solaire-faces 30) + (add-hook 'after-make-frame-functions #'my/neutralize-solaire-faces)) + +(defvar my/gui-transparency 99 "Alpha background value for GUI frames (0-100).") (defun my/make-all-faces-transparent (&optional frame) diff --git a/doom/init.el b/doom/init.el index 4465f3d..b57d64e 100644 --- a/doom/init.el +++ b/doom/init.el @@ -100,15 +100,15 @@ magit ; a git porcelain for Emacs make ; run make tasks from Emacs ;;pass ; password manager for nerds - ;;pdf ; pdf enhancements + pdf ; pdf enhancements ;;prodigy ; FIXME managing external services & code builders ;;terraform ; infrastructure as code ;;tmux ; an API for interacting with tmux - ;;tree-sitter ; syntax and parsing, sitting in a tree... + tree-sitter ; syntax and parsing, sitting in a tree... ;;upload ; map local to remote projects via ssh/ftp :os - (:if (featurep :system 'macos) macos) ; improve compatibility with macOS + ;;(:if (featurep :system 'macos) macos) ; improve compatibility with macOS ;;tty ; improve the terminal Emacs experience :lang diff --git a/ghostty/config b/ghostty/config index e85c1ec..6494a64 100644 --- a/ghostty/config +++ b/ghostty/config @@ -6,7 +6,7 @@ mouse-hide-while-typing = true window-decoration = true macos-option-as-alt = true -background-opacity = 1 +background-opacity = 0.95 background-blur-radius = 20 foreground = #FCFCFC diff --git a/zsh/.zshrc b/zsh/.zshrc index c82c6ad..9f5d4b9 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -2,10 +2,10 @@ eval "$(/opt/homebrew/bin/brew shellenv)" PROMPT='[%n@%m %F{#afd7ff}%~%f]%# ' alias python=python3 -alias ls='ls -lah' -alias vim=nvim -alias ta='tmux attach' -alias td='tmux detach' +alias ls='ls -larth' +alias em=emacs +alias copy=pbcopy +alias paste=pbpaste # bun completions [ -s "/Users/yousefjan/.bun/_bun" ] && source "/Users/yousefjan/.bun/_bun" -- cgit v1.2.3