From 12be1a489a3b235ccf11d87d3cd9a6f2b6e24f9b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Gremaud?= Date: Tue, 6 Jun 2023 10:55:13 +0200 Subject: [PATCH] WIP on archtuf --- config/i3/alacritty/colors.yml | 1 - config/i3/alacritty/fonts.yml | 2 +- config/i3/config.d/01_theme.conf | 4 ++-- config/i3/i3status/statusbar.conf | 2 +- config/i3/picom.conf | 2 +- config/i3/themes/gruvbox/polybar/config.ini | 14 +++++++------- config/i3/xsettingsd | 2 +- neovim | 2 +- tmux.conf | 4 ++-- zsh/alias.sh | 2 +- zshrc | 4 ++++ 11 files changed, 21 insertions(+), 18 deletions(-) diff --git a/config/i3/alacritty/colors.yml b/config/i3/alacritty/colors.yml index aede44f..5142e04 100644 --- a/config/i3/alacritty/colors.yml +++ b/config/i3/alacritty/colors.yml @@ -2,7 +2,6 @@ colors: # Default colors primary: - # background: '#282828' background: '#000000' foreground: '#ebdbb2' diff --git a/config/i3/alacritty/fonts.yml b/config/i3/alacritty/fonts.yml index 1db8c37..dcb2943 100644 --- a/config/i3/alacritty/fonts.yml +++ b/config/i3/alacritty/fonts.yml @@ -24,7 +24,7 @@ font: #style: Bold Italic # Point size - size: 16 + size: 10 # Offset #offset: diff --git a/config/i3/config.d/01_theme.conf b/config/i3/config.d/01_theme.conf index 6b34186..0925703 100644 --- a/config/i3/config.d/01_theme.conf +++ b/config/i3/config.d/01_theme.conf @@ -5,10 +5,10 @@ ##-- Theme Variables --------------------- #~ Fonts -set $i3_fonts JetBrainsMono Nerd Font 8 +set $i3_fonts JetBrainsMono Nerd Font 10 #~ Border -set $i3_border_size 1 +set $i3_border_size 2 set $i3_border_style pixel #~ Gaps diff --git a/config/i3/i3status/statusbar.conf b/config/i3/i3status/statusbar.conf index f5639c6..861ef48 100644 --- a/config/i3/i3status/statusbar.conf +++ b/config/i3/i3status/statusbar.conf @@ -12,7 +12,7 @@ set $i3_bar_ina #353535 set $i3_bar_urg #b16286 set $i3_bar_mod #98971a -set $i3_bar_fonts JetBrainsMono Nerd Font 20 +set $i3_bar_fonts JetBrainsMono Nerd Font 10 ##-- Bar ------------------------------ bar { diff --git a/config/i3/picom.conf b/config/i3/picom.conf index cbc26b2..01f9153 100644 --- a/config/i3/picom.conf +++ b/config/i3/picom.conf @@ -215,7 +215,7 @@ blur-background-exclude = [ # `xrender` is the default one. # #experimental-backends = true; -backend = "glx"; +backend = "xrender"; # Enable/disable VSync. # vsync = false diff --git a/config/i3/themes/gruvbox/polybar/config.ini b/config/i3/themes/gruvbox/polybar/config.ini index bece7b6..8c4a78a 100644 --- a/config/i3/themes/gruvbox/polybar/config.ini +++ b/config/i3/themes/gruvbox/polybar/config.ini @@ -56,7 +56,7 @@ fixed-center = true ; the percentage can optionally be extended with a pixel offset like so: ; 50%:-10, this will result in a width or height of 50% minus 10 pixels width = 100% -height = 52 +height = 26 ; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%) ; the percentage can optionally be extended with a pixel offset like so: @@ -124,17 +124,17 @@ module-margin-right = 0 ; See the Fonts wiki page for more details ; text -font-0 = "JetBrains Mono:size=20;6" +font-0 = "JetBrains Mono:size=10;3" ; icons -font-1 = "Iosevka Nerd Font:size=24;6" +font-1 = "Iosevka Nerd Font:size=12;3" ; glyphs -font-2 = "Iosevka Nerd Font:size=30;8" +font-2 = "Iosevka Nerd Font:size=15;4" ; dot -font-3 = "Iosevka Nerd Font:size=20;8" +font-3 = "Iosevka Nerd Font:size=10;4" ; clock & mpd -font-4 = "Iosevka:style=bold:size=20;8" +font-4 = "Iosevka:style=bold:size=10;4" ; Archcraft -font-5 = "archcraft:size=24;6" +font-5 = "archcraft:size=12;3" ; Modules are added to one of the available blocks ; modules-left = cpu ram diff --git a/config/i3/xsettingsd b/config/i3/xsettingsd index 8fb9e46..0e865e3 100644 --- a/config/i3/xsettingsd +++ b/config/i3/xsettingsd @@ -5,7 +5,7 @@ Net/IconThemeName "Luna-Dark" Gtk/CursorThemeName "Future-Dark" Net/EnableEventSounds "0" Net/EnableInputFeedbackSounds "0" -Xft/DPI "384" +Xft/DPI "-1" Xft/Hinting 1 Xft/HintStyle "hintslight" Xft/Antialias 1 diff --git a/neovim b/neovim index b933fbe..722044c 160000 --- a/neovim +++ b/neovim @@ -1 +1 @@ -Subproject commit b933fbe1d921b128abefd07d05b6984422631980 +Subproject commit 722044c88a110bc80554b6a73da0f9b4f47e7a90 diff --git a/tmux.conf b/tmux.conf index b6b95d8..bc597dd 100644 --- a/tmux.conf +++ b/tmux.conf @@ -40,7 +40,7 @@ set -g mouse on set -g history-file ~/.tmux_history # List of plugins -#set -g @plugin 'tmux-plugins/tpm' +# set -g @plugin 'tmux-plugins/tpm' set -g @plugin 'tmux-plugins/tmux-resurrect' set -g @resurrect-capture-pane-contents 'on' set -g @resurrect-strategy-vim 'session' @@ -50,7 +50,7 @@ set -g @resurrect-processes 'ssh vim nvim django-run "~manage.py"' set -g @plugin 'tmux-plugins/tmux-yank' run -b '~/.tmux/plugins/tpm/tpm' -#run-shell ~/tmux-resurrect/resurrect.tmux +# run-shell ~/tmux-resurrect/resurrect.tmux set -s escape-time 0 set-option -g default-terminal "screen-256color" diff --git a/zsh/alias.sh b/zsh/alias.sh index 9510a60..fa0a407 100644 --- a/zsh/alias.sh +++ b/zsh/alias.sh @@ -22,7 +22,7 @@ rs() {python manage.py runserver 127.0.0."$1":"$2"} cheat() { curl cheat.sh/"$1" } cda() { conda activate "$@" } cdd() { conda deactivate "$@" } -cdc() { conda create --name "$@" python=3.7 pip ipython memory_profiler psycopg2 black isort } +cdc() { conda create --name "$@" python=3.9 pip ipython memory_profiler psycopg2 black isort poetry } cdi() { conda info --envs "$@" } ca() { pygmentize -g "$@" } grepf() { grep -rnw ./ -e "$@"} diff --git a/zshrc b/zshrc index 3255564..e30fc65 100644 --- a/zshrc +++ b/zshrc @@ -26,3 +26,7 @@ else fi unset __conda_setup # <<< conda initialize <<< + +eval "$(zoxide init zsh)" + +export PATH="/home/legrems/Documents/mattermost:$PATH"