diff --git a/bin/updateall b/bin/updateall index 2848342..f6c7a59 100755 --- a/bin/updateall +++ b/bin/updateall @@ -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 diff --git a/bin/xdg-session-start b/bin/xdg-session-start index 8a49016..aa3d2d9 100755 --- a/bin/xdg-session-start +++ b/bin/xdg-session-start @@ -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 diff --git a/config/hypr/hyprland.conf.d/startup.conf b/config/hypr/hyprland.conf.d/startup.conf index 63af8d3..c683c4e 100644 --- a/config/hypr/hyprland.conf.d/startup.conf +++ b/config/hypr/hyprland.conf.d/startup.conf @@ -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 diff --git a/config/nvim/init.lua b/config/nvim/init.lua index 9d54a8c..d7e6b4a 100644 --- a/config/nvim/init.lua +++ b/config/nvim/init.lua @@ -6,4 +6,5 @@ require('core.keymaps') require('core.plugins') require('core.style') require('core.plugin_config') +require('core.lsp') diff --git a/config/nvim/lua/core/lsp.lua b/config/nvim/lua/core/lsp.lua new file mode 100644 index 0000000..422ae0d --- /dev/null +++ b/config/nvim/lua/core/lsp.lua @@ -0,0 +1,2 @@ +require'lspconfig'.pyright.setup{} + diff --git a/config/nvim/lua/core/plugins.lua b/config/nvim/lua/core/plugins.lua index 5169b45..3c6de9c 100644 --- a/config/nvim/lua/core/plugins.lua +++ b/config/nvim/lua/core/plugins.lua @@ -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 diff --git a/home/shrc.d/aliases b/home/shrc.d/aliases index 984bb87..305a8f8 100644 --- a/home/shrc.d/aliases +++ b/home/shrc.d/aliases @@ -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' + diff --git a/share/updateall/scripts.d/apt b/share/updateall/scripts.d/10-apt similarity index 88% rename from share/updateall/scripts.d/apt rename to share/updateall/scripts.d/10-apt index 9b98625..94f45de 100755 --- a/share/updateall/scripts.d/apt +++ b/share/updateall/scripts.d/10-apt @@ -1,5 +1,6 @@ #!/bin/sh [ "$(whoami)" != root ] && exec sudo "$0" "$@" +apt-get clean apt-get update apt-get upgrade apt-get autopurge diff --git a/share/updateall/scripts.d/10-pkg b/share/updateall/scripts.d/10-pkg new file mode 100755 index 0000000..032c232 --- /dev/null +++ b/share/updateall/scripts.d/10-pkg @@ -0,0 +1,6 @@ +#!/bin/sh +apt clean +pkg update +pkg upgrade +apt autopurge -y + diff --git a/share/updateall/scripts.d/yay b/share/updateall/scripts.d/10-yay similarity index 83% rename from share/updateall/scripts.d/yay rename to share/updateall/scripts.d/10-yay index 85bce45..b7965e4 100755 --- a/share/updateall/scripts.d/yay +++ b/share/updateall/scripts.d/10-yay @@ -1,4 +1,5 @@ #!/bin/sh +yay -Scc yay -Fy yay yay -Qdtq | yay -Rns - diff --git a/share/updateall/scripts.d/docker b/share/updateall/scripts.d/50-docker similarity index 100% rename from share/updateall/scripts.d/docker rename to share/updateall/scripts.d/50-docker diff --git a/share/updateall/scripts.d/waydroid b/share/updateall/scripts.d/50-waydroid similarity index 100% rename from share/updateall/scripts.d/waydroid rename to share/updateall/scripts.d/50-waydroid diff --git a/share/updateall/scripts.d/yabridge b/share/updateall/scripts.d/50-yabridge old mode 100644 new mode 100755 similarity index 100% rename from share/updateall/scripts.d/yabridge rename to share/updateall/scripts.d/50-yabridge diff --git a/share/updateall/scripts.d/git b/share/updateall/scripts.d/70-git similarity index 100% rename from share/updateall/scripts.d/git rename to share/updateall/scripts.d/70-git diff --git a/share/updateall/scripts.d/80-nvim b/share/updateall/scripts.d/80-nvim new file mode 100755 index 0000000..af53901 --- /dev/null +++ b/share/updateall/scripts.d/80-nvim @@ -0,0 +1,3 @@ +#!/bin/sh +nvim +PackerUpdate + diff --git a/vnc/xstartup b/vnc/xstartup index af03866..0b4fd79 100755 --- a/vnc/xstartup +++ b/vnc/xstartup @@ -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