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
main() {
for i in "${scripts_d}/"*; do
separator "$(basename "$i")"
separator "$(basename "$i" | cut -d '-' -f 2)"
"$i"
done
}
@ -42,7 +42,7 @@ case "$script" in
main "$@"
;;
*)
"${scripts_d}/${script}" "$@"
"${scripts_d}/"??"-${script}" "$@"
;;
esac

View file

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

View file

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

View file

@ -6,4 +6,5 @@ require('core.keymaps')
require('core.plugins')
require('core.style')
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',
requires = { 'nvim-tree/nvim-web-devicons', opt = true }
}
use 'elkowar/yuck.vim'
-- use 'feline-nvim/feline.nvim'
-- Synchroniser les paquetages si c'est la première exécution

View file

@ -8,3 +8,12 @@ else
alias sshm="ssh -M"
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
[ "$(whoami)" != root ] && exec sudo "$0" "$@"
apt-get clean
apt-get update
apt-get upgrade
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
yay -Scc
yay -Fy
yay
yay -Qdtq | yay -Rns -

View file

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

View file

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