From f37c14861be26b5d6a63dfe8f215a960e38e1d0c Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Tue, 12 Sep 2023 22:57:31 +0200 Subject: [PATCH 01/10] Ajout : aliases pour git --- home/shrc.d/aliases | 9 +++++++++ 1 file changed, 9 insertions(+) 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' + From 200ae2833f04f927290c367c24e97310e373fe0e Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Fri, 15 Sep 2023 09:54:39 +0200 Subject: [PATCH 02/10] =?UTF-8?q?Ajout=20:=20permission=20ex=C3=A9cutable?= =?UTF-8?q?=20sur=20le=20script=20d'update=20de=20yabridge?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- share/updateall/scripts.d/yabridge | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 share/updateall/scripts.d/yabridge diff --git a/share/updateall/scripts.d/yabridge b/share/updateall/scripts.d/yabridge old mode 100644 new mode 100755 From dd86bc399ecd8ab239e5a84fd2603eddb6a1d57b Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Fri, 15 Sep 2023 09:55:46 +0200 Subject: [PATCH 03/10] Ajout : script d'update de nvim --- share/updateall/scripts.d/nvim | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 share/updateall/scripts.d/nvim diff --git a/share/updateall/scripts.d/nvim b/share/updateall/scripts.d/nvim new file mode 100755 index 0000000..af53901 --- /dev/null +++ b/share/updateall/scripts.d/nvim @@ -0,0 +1,3 @@ +#!/bin/sh +nvim +PackerUpdate + From 198579d14fbb09abaf0aacc86d956f12871a79b4 Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Fri, 15 Sep 2023 10:04:54 +0200 Subject: [PATCH 04/10] =?UTF-8?q?Remaniement=20:=20syst=C3=A8me=20de=20pri?= =?UTF-8?q?orit=C3=A9=20dans=20updateall?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/updateall | 4 ++-- share/updateall/scripts.d/{apt => 10-apt} | 0 share/updateall/scripts.d/{yay => 10-yay} | 0 share/updateall/scripts.d/{docker => 50-docker} | 0 share/updateall/scripts.d/{waydroid => 50-waydroid} | 0 share/updateall/scripts.d/{yabridge => 50-yabridge} | 0 share/updateall/scripts.d/{git => 70-git} | 0 share/updateall/scripts.d/{nvim => 80-nvim} | 0 8 files changed, 2 insertions(+), 2 deletions(-) rename share/updateall/scripts.d/{apt => 10-apt} (100%) rename share/updateall/scripts.d/{yay => 10-yay} (100%) rename share/updateall/scripts.d/{docker => 50-docker} (100%) rename share/updateall/scripts.d/{waydroid => 50-waydroid} (100%) rename share/updateall/scripts.d/{yabridge => 50-yabridge} (100%) rename share/updateall/scripts.d/{git => 70-git} (100%) rename share/updateall/scripts.d/{nvim => 80-nvim} (100%) 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/share/updateall/scripts.d/apt b/share/updateall/scripts.d/10-apt similarity index 100% rename from share/updateall/scripts.d/apt rename to share/updateall/scripts.d/10-apt diff --git a/share/updateall/scripts.d/yay b/share/updateall/scripts.d/10-yay similarity index 100% rename from share/updateall/scripts.d/yay rename to share/updateall/scripts.d/10-yay 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 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/nvim b/share/updateall/scripts.d/80-nvim similarity index 100% rename from share/updateall/scripts.d/nvim rename to share/updateall/scripts.d/80-nvim From bdeff42c7259054ce420daab20c204da1627bd17 Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Fri, 15 Sep 2023 10:09:26 +0200 Subject: [PATCH 05/10] =?UTF-8?q?Ajout=20:=20apt-get=20clean=20dans=20le?= =?UTF-8?q?=20script=20de=20mise=20=C3=A0=20jour=20de=20apt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- share/updateall/scripts.d/10-apt | 1 + 1 file changed, 1 insertion(+) diff --git a/share/updateall/scripts.d/10-apt b/share/updateall/scripts.d/10-apt index 9b98625..94f45de 100755 --- a/share/updateall/scripts.d/10-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 From 3bf372bd2b51b026e3eedec43851e2404647d7ea Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Fri, 15 Sep 2023 10:09:40 +0200 Subject: [PATCH 06/10] =?UTF-8?q?Ajout=20:=20yay=20-Scc=20dans=20le=20scri?= =?UTF-8?q?pt=20de=20mise=20=C3=A0=20jour=20de=20yay?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- share/updateall/scripts.d/10-yay | 1 + 1 file changed, 1 insertion(+) diff --git a/share/updateall/scripts.d/10-yay b/share/updateall/scripts.d/10-yay index 85bce45..b7965e4 100755 --- a/share/updateall/scripts.d/10-yay +++ b/share/updateall/scripts.d/10-yay @@ -1,4 +1,5 @@ #!/bin/sh +yay -Scc yay -Fy yay yay -Qdtq | yay -Rns - From e7675facc1f2409d4f00a727e4122620a4b6ed38 Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Fri, 15 Sep 2023 18:59:12 +0200 Subject: [PATCH 07/10] Ajout : script d'update de pkg --- share/updateall/scripts.d/10-pkg | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 share/updateall/scripts.d/10-pkg diff --git a/share/updateall/scripts.d/10-pkg b/share/updateall/scripts.d/10-pkg new file mode 100644 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 + From 744fc286d42a2e964f8760d57c5b43c2e37031fa Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Fri, 15 Sep 2023 19:00:52 +0200 Subject: [PATCH 08/10] Correction : mode de 10-pkg --- share/updateall/scripts.d/10-pkg | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 share/updateall/scripts.d/10-pkg diff --git a/share/updateall/scripts.d/10-pkg b/share/updateall/scripts.d/10-pkg old mode 100644 new mode 100755 From e5abc118bd67e1f294e2071e3469e1bfd5f3ca0b Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Mon, 18 Sep 2023 10:51:47 +0200 Subject: [PATCH 09/10] Ajout : lspconfig pour Neovim --- config/nvim/init.lua | 1 + config/nvim/lua/core/lsp.lua | 2 ++ config/nvim/lua/core/plugins.lua | 1 - 3 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 config/nvim/lua/core/lsp.lua 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 From 2fef620bc5e037b29095bb810ee340c591334054 Mon Sep 17 00:00:00 2001 From: Hippolyte Chauvin Date: Mon, 18 Sep 2023 22:20:22 +0200 Subject: [PATCH 10/10] =?UTF-8?q?Mise=20=C3=A0=20jour=20:=20artix-pipewire?= =?UTF-8?q?-loader=20->=20artix-pipewire-launcher=20dans=20mes=20configura?= =?UTF-8?q?tions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/xdg-session-start | 2 +- config/hypr/hyprland.conf.d/startup.conf | 2 +- vnc/xstartup | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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/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