Compare commits

..

19 commits

Author SHA1 Message Date
Hippolyte Chauvin
bc7e7a72a2 Correction : bindings Sway et Hyprland 2023-10-23 15:21:22 +02:00
Hippolyte Chauvin
7fff94f62a Ajout : configuration SSH 2023-10-23 08:17:58 +02:00
Hippolyte Chauvin
425782430f Utilisation de la nouvelle variables $discord dans la conf Hyprland 2023-10-22 11:34:46 +02:00
Hippolyte Chauvin
efb096970d Ajout : raccourcis clavier pour lancer deezer et Bitwarden 2023-10-22 11:34:19 +02:00
Hippolyte Chauvin
0d8d6628f2 Remaniement de règles dans les configurations de mes gestionnaires de
fenêtres

Suppression des règles pour WhatsApp. Ajout de règles pour Bitwarden.
2023-10-22 11:29:25 +02:00
Hippolyte Chauvin
9e0be13223 Ajout : aliases pour Arch en mode utilisateur 2023-10-22 11:17:14 +02:00
Hippolyte Chauvin
2463d7e589 st -> alacritty dans mon script de lancement VNC 2023-10-22 00:12:22 +02:00
Hippolyte Chauvin
41ec79337b Réécriture de mon scrpit de lancement de session VNC 2023-10-22 00:11:38 +02:00
Hippolyte Chauvin
7fb3eff9dc Ajout : lien vers electron-flags.conf pour la version 24 2023-10-21 23:40:51 +02:00
Hippolyte Chauvin
5ccd172621 Configuration de Hyprland : utilisation de xdg-session-start
Permet de profiter des sleep du script pour lancer un environnement XDG
propre
2023-10-21 23:32:36 +02:00
Hippolyte Chauvin
a03ac5499a Ajout : création du dossier $XDG_RUNTIME_DIR/ssh au démarrage de mes
compositeurs Wayland

Utile pour ma configuration SSH
2023-10-21 23:27:10 +02:00
Hippolyte Chauvin
df25a6f508 Ajout : globstar dans la configuration de bash 2023-10-21 22:38:14 +02:00
Hippolyte Chauvin
dd26ecd2db Ajout : script de mise à jour de Arch via paru 2023-10-21 14:53:40 +02:00
Hippolyte Chauvin
84bcc14b67 Remaniement : bash_profile 2023-10-19 19:27:01 +02:00
Hippolyte Chauvin
17286ba326 Suppression : erreur ShellCheck dans updateall
Ajout d'un commentaire pour supprimer un faux positif de shellcheck
2023-10-19 18:47:50 +02:00
Hippolyte Chauvin
a156705e61 Correction : erreur shellcheck dans vncsconnect
La fonction ssh_bridge_already_exists ne recevait jamais l'argument
qu'elle attendait
2023-10-19 18:44:28 +02:00
Hippolyte Chauvin
e9df504f59 Correction : erreur shellcheck dans qemush
cd sans gestion des erreurs
2023-10-19 18:38:35 +02:00
Hippolyte Chauvin
f9f3db7bfd Suppression : script d'initialisation de auto-cpufreq
TLP assure déjà ce service
2023-10-18 18:45:11 +02:00
Hippolyte Chauvin
6c395c0889 Ajout : script d'initialisation de auto-cpufreq 2023-10-18 18:33:27 +02:00
18 changed files with 53 additions and 29 deletions

View file

@ -7,7 +7,7 @@ exec_as() {
if [ "$(whoami)" != "$user" ]; then if [ "$(whoami)" != "$user" ]; then
exec sudo -u "$user" "$0" "$@" exec sudo -u "$user" "$0" "$@"
else else
cd cd || return
fi fi
} }

View file

@ -42,6 +42,8 @@ case "$script" in
main "$@" main "$@"
;; ;;
*) *)
# Oui, ShellCheck, c'est bel et bien ce que j'essaie de faire
# shellcheck disable=SC2211
"${scripts_d}/"??"-${script}" "$@" "${scripts_d}/"??"-${script}" "$@"
;; ;;
esac esac

View file

@ -37,7 +37,7 @@ if [ -n "$separator" ]; then
fi fi
# Exécution # Exécution
if ! ssh_bridge_already_exists; then if ! ssh_bridge_already_exists "${ssh_args[1]}"; then
ssh-fwd "${ssh_args[@]}" -- "$@" || exit ssh-fwd "${ssh_args[@]}" -- "$@" || exit
else else
echo "Le pont SSH existe déjà !" echo "Le pont SSH existe déjà !"

View file

@ -1,7 +1,10 @@
#!/bin/sh #!/bin/sh
/usr/lib/xdg-desktop-portal-wlr & mkdir -p "${XDG_RUNTIME_DIR}/ssh" &
dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
/usr/lib/xdg-desktop-portal-wlr &
sleep 1 sleep 1
artix-pipewire-launcher & artix-pipewire-launcher &
waybar waybar
wait

View file

@ -0,0 +1 @@
electron-flags.conf

View file

@ -92,6 +92,10 @@ device:epic mouse V1 {
# Variables # Variables
$browser = librewolf $browser = librewolf
$terminal = alacritty $terminal = alacritty
$discord = webcord
$deezer = deezer
$bitwarden = bitwarden-desktop
$joplin = joplin-desktop
# Modular sourcing # Modular sourcing
$confDir = ~/.config/hypr/hyprland.conf.d $confDir = ~/.config/hypr/hyprland.conf.d

View file

@ -98,7 +98,9 @@ bind = $mainMod, D, exec, rofi -show drun
bind = $mainMod, 36, exec, $terminal bind = $mainMod, 36, exec, $terminal
bind = $mainMod, F1, exec, $browser bind = $mainMod, F1, exec, $browser
bind = $mainMod, F2, exec, joplin-desktop bind = $mainMod, F2, exec, joplin-desktop
bind = $mainMod, F3, exec, webcord bind = $mainMod, F3, exec, $bitwarden
bind = $mainMod, F4, exec, $discord
bind = $mainMod, F5, exec, $deezer
bind = $mainMod ALT, L, exec, swaylock bind = $mainMod ALT, L, exec, swaylock
# Resize mode # Resize mode

View file

@ -1,11 +1,8 @@
# Startup # Startup
exec-once = swaync exec-once = swaync
exec-once = waybar
exec-once = hyprpaper exec-once = hyprpaper
exec-once = artix-pipewire-launcher
exec-once = /usr/lib/xdg-desktop-portal-hyprland
exec-once = swayosd-server exec-once = swayosd-server
exec-once = $terminal & $terminal -e sudo -i exec-once = $terminal & $terminal -e sudo -i
exec-once = webcord exec-once = webcord
exec-once = joplin-desktop exec-once = joplin-desktop
exec-once = xdg-session-start

View file

@ -3,7 +3,7 @@
# Workspace 4 # Workspace 4
windowrule = workspace 4 silent, ^(WebCord)$ windowrule = workspace 4 silent, ^(WebCord)$
windowrule = workspace 4 silent, ^(@joplin/app-desktop)$ windowrule = workspace 4 silent, ^(@joplin/app-desktop)$
windowrule = workspace 4 silent, ^(whatsapp-nativefier-.*)$ windowrule = workspace 4 silent, ^(Bitwarden)$
windowrule = workspace 4 silent, ^(Deezer)$ windowrule = workspace 4 silent, ^(Deezer)$
# Floating windows # Floating windows

View file

@ -9,6 +9,8 @@ set $browser librewolf
set $discord webcord set $discord webcord
set $joplin joplin-desktop set $joplin joplin-desktop
set $wallpaper ~/.local/share/backgrounds/artix-tube-text-green.jpg set $wallpaper ~/.local/share/backgrounds/artix-tube-text-green.jpg
set $deezer deezer
set $bitwarden bitwarden-desktop
input type:keyboard { input type:keyboard {
xkb_layout fr xkb_layout fr

View file

@ -9,7 +9,9 @@ bindsym $mod+Return exec $term
bindsym $mod+d exec $menu bindsym $mod+d exec $menu
bindsym $mod+F1 exec $browser bindsym $mod+F1 exec $browser
bindsym $mod+F2 exec $joplin bindsym $mod+F2 exec $joplin
bindsym $mod+F3 exec $discord bindsym $mod+F3 exec $bitwarden
bindsym $mod+F4 exec $discord
bindsym $mod+F5 exec $deezer
# Windows # Windows
bindsym $mod+$left focus left bindsym $mod+$left focus left

View file

@ -2,7 +2,7 @@
assign [app_id="^@joplin/app-desktop$"] 4 assign [app_id="^@joplin/app-desktop$"] 4
assign [app_id="^WebCord$"] 4 assign [app_id="^WebCord$"] 4
assign [class="^Deezer$"] 4 assign [class="^Deezer$"] 4
assign [app_id="^com.ktechpit.whatsie$"] 4 assign [app_id="^Bitwarden$"] 4
assign [app_id="^org.prismlauncher.PrismLauncher$"] 5 assign [app_id="^org.prismlauncher.PrismLauncher$"] 5
# Windows rules # Windows rules

View file

@ -0,0 +1,6 @@
#!/bin/sh
paru -Scc
paru -Fy
paru
paru -Qdtq | paru -Rns -

View file

@ -0,0 +1 @@
shopt -s globstar

View file

@ -1,18 +1,16 @@
fastfetch &
# Source my profile # Source my profile
profile="${HOME}/.profile" sourceif() {
[[ -f $profile ]] && . "$profile" [ -f "$1" ] && . "$1"
unset profile }
# Source my bashrc sourceif ~/.profile
bashrc="${HOME}/.bashrc" sourceif ~/.bashrc
[[ -f $bashrc ]] && . "$bashrc"
unset bashrc
# Fastfetch wait
fastfetch
# Start Sway if on tty1 # Start Sway if on tty1
if [ "$(tty)" = /dev/tty1 ]; then if [ "$(tty)" = /dev/tty1 ]; then
exec sway exec sway
fi fi

1
home/shrc.d/arch_aliases Normal file
View file

@ -0,0 +1 @@
alias pm=paru

5
ssh/config Normal file
View file

@ -0,0 +1,5 @@
# Control master
ControlPath ${XDG_RUNTIME_DIR}/ssh/control-%C
# SSH agent
AddKeysToAgent yes

View file

@ -1,10 +1,10 @@
#!/bin/sh #!/bin/sh
cd if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
eval "$(ssh-agent)" exec dbus-launch --exit-with-session ssh-agent "$0" "$@"
dbus-launch --exit-with-session xfwm4 & fi
artix-pipewire-launcher &
disown %2
st
wait
ssh-agent -k
cd
xfwm4 &
artix-pipewire-launcher &
alacritty
wait