Catppuccin Mocha theme for Terminator, ZSH and VSCodium, new ZSH prompt/font
parent
989a6215c8
commit
646ef5affc
|
@ -43,7 +43,6 @@ pass
|
||||||
picom
|
picom
|
||||||
playerctl
|
playerctl
|
||||||
polybar
|
polybar
|
||||||
powerline-fonts
|
|
||||||
python-dbus
|
python-dbus
|
||||||
python-gobject
|
python-gobject
|
||||||
python-pip
|
python-pip
|
||||||
|
@ -67,6 +66,7 @@ ttf-font-awesome
|
||||||
ttf-material-icons-git
|
ttf-material-icons-git
|
||||||
ttf-symbola
|
ttf-symbola
|
||||||
ttf-weather-icons
|
ttf-weather-icons
|
||||||
|
ttf-meslo-nerd
|
||||||
unzip
|
unzip
|
||||||
usb_modeswitch
|
usb_modeswitch
|
||||||
vim
|
vim
|
||||||
|
|
|
@ -26,7 +26,7 @@ monitor = ${env:MONITOR:HDMI-0}
|
||||||
|
|
||||||
[bar/chostytopbar]
|
[bar/chostytopbar]
|
||||||
inherit = bar/common
|
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-1 = MaterialIcons-Regular:size=11;4
|
||||||
font-2 = Symbola:size=10;2
|
font-2 = Symbola:size=10;2
|
||||||
font-3 = Weather Icons:size=10;3
|
font-3 = Weather Icons:size=10;3
|
||||||
|
@ -63,9 +63,9 @@ padding-right = 5
|
||||||
module-margin-left = 6
|
module-margin-left = 6
|
||||||
module-margin-right = 6
|
module-margin-right = 6
|
||||||
|
|
||||||
font-0 = Roboto:size=10;2
|
font-0 = NotoSans-Regular:size=10;1
|
||||||
font-1 = Symbola:size=4;1
|
font-1 = Symbola:size=4;2
|
||||||
font-2 = Symbola:size=5;1
|
font-2 = Symbola:size=5;2
|
||||||
;MaterialIcons are the ones used for i3 icons
|
;MaterialIcons are the ones used for i3 icons
|
||||||
font-3 = MaterialIcons-Regular:size=11;4
|
font-3 = MaterialIcons-Regular:size=11;4
|
||||||
font-4 = Font Awesome 5 Free:style=solid:size=10;2
|
font-4 = Font Awesome 5 Free:style=solid:size=10;2
|
||||||
|
|
|
@ -2,8 +2,10 @@
|
||||||
borderless = True
|
borderless = True
|
||||||
use_custom_url_handler = True
|
use_custom_url_handler = True
|
||||||
custom_url_handler = firefox
|
custom_url_handler = firefox
|
||||||
enabled_plugins = TerminalShot, LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler
|
enabled_plugins = ActivityWatch, InactivityWatch, LaunchpadBugURLHandler, LaunchpadCodeURLHandler, APTURLHandler, TerminalShot, TerminatorThemes
|
||||||
suppress_multiple_term_dialog = True
|
suppress_multiple_term_dialog = True
|
||||||
|
always_split_with_profile = True
|
||||||
|
putty_paste_style_source_clipboard = True
|
||||||
[keybindings]
|
[keybindings]
|
||||||
go_next = <Primary><Shift>n
|
go_next = <Primary><Shift>n
|
||||||
go_prev = <Primary><Shift>p
|
go_prev = <Primary><Shift>p
|
||||||
|
@ -25,12 +27,32 @@
|
||||||
[profiles]
|
[profiles]
|
||||||
[[default]]
|
[[default]]
|
||||||
icon_bell = False
|
icon_bell = False
|
||||||
background_darkness = 0.8
|
background_color = "#282828"
|
||||||
background_type = transparent
|
background_darkness = 1.0
|
||||||
|
cursor_fg_color = "#000000"
|
||||||
|
cursor_bg_color = "#aaaaaa"
|
||||||
font = DejaVu Sans Mono 11
|
font = DejaVu Sans Mono 11
|
||||||
|
foreground_color = "#ebdbb2"
|
||||||
scrollbar_position = hidden
|
scrollbar_position = hidden
|
||||||
scrollback_infinite = True
|
scrollback_infinite = True
|
||||||
use_system_font = False
|
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_fg_color = "#000000"
|
||||||
title_transmit_bg_color = "#ffffff"
|
title_transmit_bg_color = "#ffffff"
|
||||||
[layouts]
|
[layouts]
|
||||||
|
@ -48,6 +70,6 @@
|
||||||
type = Terminal
|
type = Terminal
|
||||||
parent = child0
|
parent = child0
|
||||||
order = 0
|
order = 0
|
||||||
profile = default
|
profile = Catppuccin_Mocha
|
||||||
uuid = 498cd758-0193-4b69-b40a-9743e0b080a7
|
uuid = 498cd758-0193-4b69-b40a-9743e0b080a7
|
||||||
[plugins]
|
[plugins]
|
||||||
|
|
|
@ -121,9 +121,10 @@ if [ ! -z "$INIT" ]; then
|
||||||
pip install --break-system-packages pychee
|
pip install --break-system-packages pychee
|
||||||
# Additionnal plugins for ZSH
|
# Additionnal plugins for ZSH
|
||||||
echo -e "* Install ZSH plugins for oh-my-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/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 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
|
# Basic directory structure
|
||||||
echo -e "* Create base home directories..."
|
echo -e "* Create base home directories..."
|
||||||
mkdir -p ~/documents ~/images/screenshots ~/videos ~/downloads
|
mkdir -p ~/documents ~/images/screenshots ~/videos ~/downloads
|
||||||
|
@ -139,6 +140,15 @@ if [ ! -z "$INIT" ]; then
|
||||||
# This creates a Xorg configuration file
|
# This creates a Xorg configuration file
|
||||||
sudo localectl --no-convert set-x11-keymap fr
|
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 "* 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
|
fi
|
||||||
|
|
||||||
if [ ! -z ${ENV} ]; then
|
if [ ! -z ${ENV} ]; then
|
||||||
|
|
14
.zshrc
14
.zshrc
|
@ -1,11 +1,6 @@
|
||||||
# Path to your oh-my-zsh installation.
|
# Path to your oh-my-zsh installation.
|
||||||
export ZSH=/usr/share/oh-my-zsh
|
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.
|
# Uncomment the following line to use case-sensitive completion.
|
||||||
CASE_SENSITIVE="true"
|
CASE_SENSITIVE="true"
|
||||||
|
|
||||||
|
@ -43,6 +38,8 @@ plugins=(
|
||||||
docker
|
docker
|
||||||
# unique command for most archives
|
# unique command for most archives
|
||||||
extract
|
extract
|
||||||
|
# fish-like highlighting as you type
|
||||||
|
fast-syntax-highlighting
|
||||||
# fuzzy finder for history, files, docker, process, etc (see fzf)
|
# fuzzy finder for history, files, docker, process, etc (see fzf)
|
||||||
fzf-zsh-plugin
|
fzf-zsh-plugin
|
||||||
# aliases
|
# aliases
|
||||||
|
@ -51,8 +48,6 @@ plugins=(
|
||||||
pass
|
pass
|
||||||
# fish-like completion as you type
|
# fish-like completion as you type
|
||||||
zsh-autosuggestions
|
zsh-autosuggestions
|
||||||
# fish-like syntax hightlightin as you type
|
|
||||||
zsh-syntax-highlighting
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# Enable option stacking in autocomplete, i.e. docker run -it <TAB>
|
# Enable option stacking in autocomplete, i.e. docker run -it <TAB>
|
||||||
|
@ -62,9 +57,12 @@ zstyle ':completion:*:*:docker-*:*' option-stacking yes
|
||||||
# Load ZSH
|
# Load ZSH
|
||||||
source $ZSH/oh-my-zsh.sh
|
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)"
|
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
|
# Preferred editor for local and remote sessions
|
||||||
export EDITOR=vim
|
export EDITOR=vim
|
||||||
|
|
||||||
|
|
|
@ -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 :
|
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)
|
* [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)
|
* 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
|
* [Rofi](https://github.com/DaveDavenport/rofi), a full-customizable app launcher
|
||||||
|
|
Loading…
Reference in New Issue