1
0
Fork 0
forked from ahurac/dotfiles

Remise à niveau de la branche master

This commit is contained in:
Hippolyte Chauvin 2023-09-18 22:23:45 +02:00
commit 7d680934d6
16 changed files with 28 additions and 6 deletions

View file

@ -29,7 +29,7 @@ separator() {
# Procédure principale # Procédure principale
main() { main() {
for i in "${scripts_d}/"*; do for i in "${scripts_d}/"*; do
separator "$(basename "$i")" separator "$(basename "$i" | cut -d '-' -f 2)"
"$i" "$i"
done done
} }
@ -42,7 +42,7 @@ case "$script" in
main "$@" main "$@"
;; ;;
*) *)
"${scripts_d}/${script}" "$@" "${scripts_d}/"??"-${script}" "$@"
;; ;;
esac esac

View file

@ -2,7 +2,7 @@
/usr/lib/xdg-desktop-portal-wlr & /usr/lib/xdg-desktop-portal-wlr &
dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
sleep 1 sleep 1
artix-pipewire-loader & artix-pipewire-launcher &
sleep 1 sleep 1
waybar waybar

View file

@ -2,7 +2,7 @@
exec-once = swaync exec-once = swaync
exec-once = waybar exec-once = waybar
exec-once = hyprpaper exec-once = hyprpaper
exec-once = artix-pipewire-loader exec-once = artix-pipewire-launcher
exec-once = /usr/lib/xdg-desktop-portal-hyprland exec-once = /usr/lib/xdg-desktop-portal-hyprland
exec-once = swayosd exec-once = swayosd
exec-once = kitty & kitty sudo -i exec-once = kitty & kitty sudo -i

View file

@ -6,4 +6,5 @@ require('core.keymaps')
require('core.plugins') require('core.plugins')
require('core.style') require('core.style')
require('core.plugin_config') require('core.plugin_config')
require('core.lsp')

View file

@ -0,0 +1,2 @@
require'lspconfig'.pyright.setup{}

View file

@ -27,7 +27,6 @@ return require('packer').startup(function(use)
'nvim-lualine/lualine.nvim', 'nvim-lualine/lualine.nvim',
requires = { 'nvim-tree/nvim-web-devicons', opt = true } requires = { 'nvim-tree/nvim-web-devicons', opt = true }
} }
use 'elkowar/yuck.vim'
-- use 'feline-nvim/feline.nvim' -- use 'feline-nvim/feline.nvim'
-- Synchroniser les paquetages si c'est la première exécution -- Synchroniser les paquetages si c'est la première exécution

View file

@ -8,3 +8,12 @@ else
alias sshm="ssh -M" alias sshm="ssh -M"
fi fi
# git
alias ga='git add'
alias gs='git status'
alias gc='git commit'
alias gm='git merge'
alias gch='git checkout'
alias gp='git pull'
alias gpus='git push'

View file

@ -1,5 +1,6 @@
#!/bin/sh #!/bin/sh
[ "$(whoami)" != root ] && exec sudo "$0" "$@" [ "$(whoami)" != root ] && exec sudo "$0" "$@"
apt-get clean
apt-get update apt-get update
apt-get upgrade apt-get upgrade
apt-get autopurge apt-get autopurge

View file

@ -0,0 +1,6 @@
#!/bin/sh
apt clean
pkg update
pkg upgrade
apt autopurge -y

View file

@ -1,4 +1,5 @@
#!/bin/sh #!/bin/sh
yay -Scc
yay -Fy yay -Fy
yay yay
yay -Qdtq | yay -Rns - yay -Qdtq | yay -Rns -

View file

@ -0,0 +1,3 @@
#!/bin/sh
nvim +PackerUpdate

View file

@ -2,7 +2,7 @@
cd cd
eval "$(ssh-agent)" eval "$(ssh-agent)"
dbus-launch --exit-with-session xfwm4 & dbus-launch --exit-with-session xfwm4 &
artix-pipewire-loader & artix-pipewire-launcher &
st st
wait wait
ssh-agent -k ssh-agent -k