Compare commits

..

No commits in common. "bc7e7a72a2b49bd60554fda1dc0dddf641ba76f0" and "af9f25cedb81839510b634c786a717c5ee8cbb55" have entirely different histories.

18 changed files with 27 additions and 51 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 || return cd
fi fi
} }

View file

@ -42,8 +42,6 @@ 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 "${ssh_args[1]}"; then if ! ssh_bridge_already_exists; 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,10 +1,7 @@
#!/bin/sh #!/bin/sh
mkdir -p "${XDG_RUNTIME_DIR}/ssh" &
dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
/usr/lib/xdg-desktop-portal-wlr & /usr/lib/xdg-desktop-portal-wlr &
dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
sleep 1 sleep 1
artix-pipewire-launcher & artix-pipewire-launcher &
waybar waybar
wait

View file

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

View file

@ -92,10 +92,6 @@ 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,9 +98,7 @@ 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, $bitwarden bind = $mainMod, F3, exec, webcord
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,8 +1,11 @@
# 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, ^(Bitwarden)$ windowrule = workspace 4 silent, ^(whatsapp-nativefier-.*)$
windowrule = workspace 4 silent, ^(Deezer)$ windowrule = workspace 4 silent, ^(Deezer)$
# Floating windows # Floating windows

View file

@ -9,8 +9,6 @@ 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,9 +9,7 @@ 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 $bitwarden bindsym $mod+F3 exec $discord
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="^Bitwarden$"] 4 assign [app_id="^com.ktechpit.whatsie$"] 4
assign [app_id="^org.prismlauncher.PrismLauncher$"] 5 assign [app_id="^org.prismlauncher.PrismLauncher$"] 5
# Windows rules # Windows rules

View file

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

View file

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

View file

@ -1,16 +1,18 @@
fastfetch &
# Source my profile # Source my profile
sourceif() { profile="${HOME}/.profile"
[ -f "$1" ] && . "$1" [[ -f $profile ]] && . "$profile"
} unset profile
sourceif ~/.profile # Source my bashrc
sourceif ~/.bashrc bashrc="${HOME}/.bashrc"
[[ -f $bashrc ]] && . "$bashrc"
unset bashrc
wait # Fastfetch
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

View file

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

View file

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

View file

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