diff --git a/.config/bootstrap/config_common b/.config/bootstrap/config_common index 716d987..36b5020 100644 --- a/.config/bootstrap/config_common +++ b/.config/bootstrap/config_common @@ -43,7 +43,6 @@ pass picom playerctl polybar -powerline-fonts python-dbus python-gobject python-pip @@ -67,6 +66,7 @@ ttf-font-awesome ttf-material-icons-git ttf-symbola ttf-weather-icons +ttf-meslo-nerd unzip usb_modeswitch vim diff --git a/.config/polybar/config_common b/.config/polybar/config_common index 9c00dba..c210ca3 100644 --- a/.config/polybar/config_common +++ b/.config/polybar/config_common @@ -26,7 +26,7 @@ monitor = ${env:MONITOR:HDMI-0} [bar/chostytopbar] inherit = bar/common -font-0 = NotoSans-Regular:size=10;2 +font-0 = NotoSans-Regular:size=10;1 font-1 = MaterialIcons-Regular:size=11;4 font-2 = Symbola:size=10;2 font-3 = Weather Icons:size=10;3 @@ -63,9 +63,9 @@ padding-right = 5 module-margin-left = 6 module-margin-right = 6 -font-0 = Roboto:size=10;2 -font-1 = Symbola:size=4;1 -font-2 = Symbola:size=5;1 +font-0 = NotoSans-Regular:size=10;1 +font-1 = Symbola:size=4;2 +font-2 = Symbola:size=5;2 ;MaterialIcons are the ones used for i3 icons font-3 = MaterialIcons-Regular:size=11;4 font-4 = Font Awesome 5 Free:style=solid:size=10;2 diff --git a/.config/terminator/config b/.config/terminator/config index 1439bb0..2d09646 100644 --- a/.config/terminator/config +++ b/.config/terminator/config @@ -2,8 +2,10 @@ borderless = True use_custom_url_handler = True custom_url_handler = firefox - enabled_plugins = TerminalShot, LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler + enabled_plugins = ActivityWatch, InactivityWatch, LaunchpadBugURLHandler, LaunchpadCodeURLHandler, APTURLHandler, TerminalShot, TerminatorThemes suppress_multiple_term_dialog = True + always_split_with_profile = True + putty_paste_style_source_clipboard = True [keybindings] go_next = n go_prev = p @@ -25,12 +27,32 @@ [profiles] [[default]] icon_bell = False - background_darkness = 0.8 - background_type = transparent + background_color = "#282828" + background_darkness = 1.0 + cursor_fg_color = "#000000" + cursor_bg_color = "#aaaaaa" font = DejaVu Sans Mono 11 + foreground_color = "#ebdbb2" scrollbar_position = hidden scrollback_infinite = True use_system_font = False + use_theme_colors = True + bold_is_bright = True + title_transmit_fg_color = "#000000" + title_transmit_bg_color = "#ffffff" + [[Catppuccin_Mocha]] + icon_bell = False + background_color = "#282828" + background_darkness = 1.0 + cursor_fg_color = "#000000" + cursor_bg_color = "#f5e0dc" + font = MesloLGM Nerd Font 11 + foreground_color = "#ebdbb2" + scrollbar_position = hidden + scrollback_infinite = True + palette = "#45475a:#f38ba8:#a6e3a1:#f9e2af:#89b4fa:#f5c2e7:#94e2d5:#bac2de:#585b70:#f38ba8:#a6e3a1:#f9e2af:#89b4fa:#f5c2e7:#94e2d5:#a6adc8" + use_system_font = False + bold_is_bright = True title_transmit_fg_color = "#000000" title_transmit_bg_color = "#ffffff" [layouts] @@ -48,6 +70,6 @@ type = Terminal parent = child0 order = 0 - profile = default + profile = Catppuccin_Mocha uuid = 498cd758-0193-4b69-b40a-9743e0b080a7 [plugins] diff --git a/.init_config.sh b/.init_config.sh index 8ea430d..523e776 100755 --- a/.init_config.sh +++ b/.init_config.sh @@ -121,9 +121,10 @@ if [ ! -z "$INIT" ]; then pip install --break-system-packages pychee # Additionnal plugins for ZSH echo -e "* Install ZSH plugins for oh-my-zsh..." - sudo git clone https://github.com/zsh-users/zsh-syntax-highlighting.git /usr/share/oh-my-zsh/plugins/zsh-syntax-highlighting + sudo git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git /usr/share/oh-my-zsh/plugins/zsh-fast-syntax-highlighting sudo git clone https://github.com/zsh-users/zsh-autosuggestions /usr/share/oh-my-zsh/plugins/zsh-autosuggestions sudo git clone https://github.com/unixorn/fzf-zsh-plugin.git /usr/share/oh-my-zsh/plugins/fzf-zsh-plugin + sudo wget https://raw.githubusercontent.com/catppuccin/zsh-fsh/main/themes/catppuccin-macchiato.ini -O /usr/share/oh-my-zsh/plugins/fast-syntax-highlighting # Basic directory structure echo -e "* Create base home directories..." mkdir -p ~/documents ~/images/screenshots ~/videos ~/downloads @@ -139,6 +140,15 @@ if [ ! -z "$INIT" ]; then # This creates a Xorg configuration file sudo localectl --no-convert set-x11-keymap fr echo -e "* Create a symlink rrm → rm (rm will be an alias to rmtrash) in zsh" + echo -e "* Install synchronization extension for VSCode settings and plugins..." + # Avoid to push whole extensions up to hundreds of MB, and avoid using + # Micro$oft proprietary stuff, usable with any git server + vscodium --install-extension zokugun.sync-settings + git clone git@git.chosto.me:Chosto/codium-settings.git ~/.config/codium-settings + echo -e "* Install plugin to pick theme for Terminator..." + # See https://github.com/EliverLara/terminator-themes + mkdir -p $HOME/.config/terminator/plugins + wget https://git.io/v5Zww -O $HOME"/.config/terminator/plugins/terminator-themes.py" fi if [ ! -z ${ENV} ]; then diff --git a/.zshrc b/.zshrc index 9fd0571..44c4b21 100644 --- a/.zshrc +++ b/.zshrc @@ -1,11 +1,6 @@ # Path to your oh-my-zsh installation. export ZSH=/usr/share/oh-my-zsh -# Set name of the theme to load. Optionally, if you set this to "random" -# it'll load a random theme each time that oh-my-zsh is loaded. -# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes -ZSH_THEME="agnoster" - # Uncomment the following line to use case-sensitive completion. CASE_SENSITIVE="true" @@ -43,6 +38,8 @@ plugins=( docker # unique command for most archives extract + # fish-like highlighting as you type + fast-syntax-highlighting # fuzzy finder for history, files, docker, process, etc (see fzf) fzf-zsh-plugin # aliases @@ -51,8 +48,6 @@ plugins=( pass # fish-like completion as you type zsh-autosuggestions - # fish-like syntax hightlightin as you type - zsh-syntax-highlighting ) # Enable option stacking in autocomplete, i.e. docker run -it @@ -62,9 +57,12 @@ zstyle ':completion:*:*:docker-*:*' option-stacking yes # Load ZSH source $ZSH/oh-my-zsh.sh -# Use Catppuccin prompt theme made for Oh My Posh, in zsh +# Use Quick Term prompt theme made for Oh My Posh, in zsh eval "$(oh-my-posh init zsh --config https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/quick-term.omp.json)" +# And use Catppuccin Mocha theme for ZSH fast hightlight plugin (LOCAL means searching in /usr/local/fsh) +fast-theme LOCAL:catppuccin-mocha + # Preferred editor for local and remote sessions export EDITOR=vim diff --git a/README.md b/README.md index 8e68553..86470d9 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ So basically, what I like about this setup is that there is no "useless" menu ba In brief this is the classic Arch/i3 combo with : +* A wonderful theming for most of installed software with [Catppuccin Latte](https://github.com/catppuccin/catppuccin):wq * [Polybar](https://github.com/jaagr/polybar/), a great replacement for i3-bar with easy custom plugins and [system tray](https://specifications.freedesktop.org/systemtray-spec/systemtray-spec-0.3.html) * A notification daemon (urgency-aware), [Dunst](https://github.com/dunst-project/dunst), controlled by shortcuts (but possibly with mouse) * [Rofi](https://github.com/DaveDavenport/rofi), a full-customizable app launcher