From c1bc131346bf9ef4d4788a1fde998fac6c8d6022 Mon Sep 17 00:00:00 2001 From: Antoine Phan Date: Mon, 5 Aug 2024 09:38:10 +0700 Subject: [PATCH] Update! --- alacritty/.config/alacritty/alacritty.toml | 2 +- bash/.bashrc | 4 + hypr/.config/hypr/hyprland.conf | 2 +- nvim/.config/nvim/init.vim | 6 +- pacman/etc/pacman.conf | 97 ++++++++++++++++++++++ testfile | 2 - zsh/.zshrc | 11 ++- 7 files changed, 111 insertions(+), 13 deletions(-) create mode 100644 pacman/etc/pacman.conf delete mode 100644 testfile diff --git a/alacritty/.config/alacritty/alacritty.toml b/alacritty/.config/alacritty/alacritty.toml index 299d4de..454529b 100644 --- a/alacritty/.config/alacritty/alacritty.toml +++ b/alacritty/.config/alacritty/alacritty.toml @@ -1,5 +1,5 @@ import = [ - "~/.config/alacritty/themes/themes/catppuccin_mocha.toml" + "~/.config/alacritty/themes/themes/deep_space.toml" ] [colors.cursor] diff --git a/bash/.bashrc b/bash/.bashrc index bc50ecd..e02043b 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -148,3 +148,7 @@ alias arcli="arduino-cli" alias mcgillvpn='/opt/cisco/anyconnect/bin/vpnui &' alias mcgillvpn='/opt/cisco/anyconnect/bin/vpnui &' alias mcgillvpn='/opt/cisco/anyconnect/bin/vpnui &' + +export GTK_IM_MODULE=ibus +export QT_IM_MODULE=ibus +export XMODIFIERS=@im=ibus diff --git a/hypr/.config/hypr/hyprland.conf b/hypr/.config/hypr/hyprland.conf index 944c207..8c1e648 100644 --- a/hypr/.config/hypr/hyprland.conf +++ b/hypr/.config/hypr/hyprland.conf @@ -192,7 +192,7 @@ bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 0, movetoworkspace, 10 # Some workspace customization -workspace = 1, monitor:HDMI-A-1, default:true +# workspace = 1, monitor:HDMI-A-1, default:true # Move active window to position bind = $mainMod SHIFT, left, movewindow, l diff --git a/nvim/.config/nvim/init.vim b/nvim/.config/nvim/init.vim index 9ddff52..4c5ef92 100644 --- a/nvim/.config/nvim/init.vim +++ b/nvim/.config/nvim/init.vim @@ -31,10 +31,10 @@ Plug 'nvim-lualine/lualine.nvim' Plug 'nvim-tree/nvim-web-devicons' Plug 'preservim/tagbar' Plug 'preservim/nerdtree' -Plug 'tpope/vim-surround' -Plug 'airblade/vim-gitgutter' +" Plug 'tpope/vim-surround' +" Plug 'airblade/vim-gitgutter' Plug 'preservim/nerdtree' -Plug 'ryanoasis/vim-devicons' +" Plug 'ryanoasis/vim-devicons' call plug#end() diff --git a/pacman/etc/pacman.conf b/pacman/etc/pacman.conf new file mode 100644 index 0000000..cc61df7 --- /dev/null +++ b/pacman/etc/pacman.conf @@ -0,0 +1,97 @@ +# +# /etc/pacman.conf +# +# See the pacman.conf(5) manpage for option and repository directives + +# +# GENERAL OPTIONS +# +[options] +# The following paths are commented out with their default values listed. +# If you wish to use different paths, uncomment and update the paths. +#RootDir = / +#DBPath = /var/lib/pacman/ +#CacheDir = /var/cache/pacman/pkg/ +#LogFile = /var/log/pacman.log +#GPGDir = /etc/pacman.d/gnupg/ +#HookDir = /etc/pacman.d/hooks/ +HoldPkg = pacman glibc +#XferCommand = /usr/bin/curl -L -C - -f -o %o %u +#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u +#CleanMethod = KeepInstalled +Architecture = auto + +# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup +#IgnorePkg = +#IgnoreGroup = + +#NoUpgrade = +#NoExtract = + +# Misc options +#UseSyslog +Color +#NoProgressBar +CheckSpace +#VerbosePkgLists +ParallelDownloads = 30 + +# By default, pacman accepts packages signed by keys that its local keyring +# trusts (see pacman-key and its man page), as well as unsigned packages. +SigLevel = Required DatabaseOptional +LocalFileSigLevel = Optional +#RemoteFileSigLevel = Required + +# NOTE: You must run `pacman-key --init` before first using pacman; the local +# keyring can then be populated with the keys of all official Arch Linux +# packagers with `pacman-key --populate archlinux`. + +# +# REPOSITORIES +# - can be defined here or included from another file +# - pacman will search repositories in the order defined here +# - local/custom mirrors can be added here or in separate files +# - repositories listed first will take precedence when packages +# have identical names, regardless of version number +# - URLs will have $repo replaced by the name of the current repo +# - URLs will have $arch replaced by the name of the architecture +# +# Repository entries are of the format: +# [repo-name] +# Server = ServerName +# Include = IncludePath +# +# The header [repo-name] is crucial - it must be present and +# uncommented to enable the repo. +# + +# The testing repositories are disabled by default. To enable, uncomment the +# repo name header and Include lines. You can add preferred servers immediately +# after the header, and they will be used before the default mirrors. + +#[core-testing] +#Include = /etc/pacman.d/mirrorlist + +[core] +Include = /etc/pacman.d/mirrorlist + +#[extra-testing] +#Include = /etc/pacman.d/mirrorlist + +[extra] +Include = /etc/pacman.d/mirrorlist + +# If you want to run 32 bit applications on your x86_64 system, +# enable the multilib repositories as required here. + +#[multilib-testing] +#Include = /etc/pacman.d/mirrorlist + +[multilib] +Include = /etc/pacman.d/mirrorlist + +# An example of a custom package repository. See the pacman manpage for +# tips on creating your own repositories. +#[custom] +#SigLevel = Optional TrustAll +#Server = file:///home/custompkgs diff --git a/testfile b/testfile deleted file mode 100644 index f1c97bf..0000000 --- a/testfile +++ /dev/null @@ -1,2 +0,0 @@ -random stuff again and again adn again -Once more diff --git a/zsh/.zshrc b/zsh/.zshrc index 409aab4..089e967 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -4,7 +4,7 @@ export ZSH="$HOME/.oh-my-zsh" # load a random theme each time oh-my-zsh is loaded, in which case, # to know which specific one was loaded, run: echo $RANDOM_THEME # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes -ZSH_THEME="jovial" +ZSH_THEME="theunraveler" # Set list of themes to pick from when loading at random # Setting this variable when ZSH_THEME=random will cause zsh to load @@ -66,12 +66,11 @@ COMPLETION_WAITING_DOTS="true" plugins=( git autojump - urltools - bgnotify zsh-autosuggestions zsh-syntax-highlighting - jovial archlinux + sudo + tmux ) source $ZSH/oh-my-zsh.sh @@ -129,7 +128,7 @@ alias connectWifi='sudo wpa_supplicant -B -i wlo1 -c /etc/wpa_supplicant/wpa_sup alias project='cd ~/Partage/Projects/' alias coding='cd $HOME/Partage/Coding' -alias gotop="gotop -l kitchensink -c monokai --nvidia" +alias gotop="gotop -l kitchensink --nvidia" alias setbackground="feh --bg-fill --randomize $HOME/.wallpaper/" alias fallinlight="feh --bg-fill --randomize /home/antoine/Pictures/Fallin\'\ Light" @@ -143,6 +142,7 @@ alias please='sudo' alias ibus-en='ibus engine xkb:us:intl:eng' alias ibus-vn='ibus engine Bamboo' + export GTK_IM_MODULE=ibus export QT_IM_MODULE=ibus export XMODIFIERS=@im=ibus @@ -159,7 +159,6 @@ export PATH="$BUN_INSTALL/bin:$PATH" eval "$(zoxide init --cmd cd zsh)" - if [ -e /home/antoine/.nix-profile/etc/profile.d/nix.sh ]; then . /home/antoine/.nix-profile/etc/profile.d/nix.sh; fi # added by Nix installer export NVM_DIR="$HOME/.nvm"