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
exec sudo -u "$user" "$0" "$@"
else
cd || return
cd
fi
}

View file

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

View file

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

View file

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

View file

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

View file

@ -92,10 +92,6 @@ device:epic mouse V1 {
# Variables
$browser = librewolf
$terminal = alacritty
$discord = webcord
$deezer = deezer
$bitwarden = bitwarden-desktop
$joplin = joplin-desktop
# Modular sourcing
$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, F1, exec, $browser
bind = $mainMod, F2, exec, joplin-desktop
bind = $mainMod, F3, exec, $bitwarden
bind = $mainMod, F4, exec, $discord
bind = $mainMod, F5, exec, $deezer
bind = $mainMod, F3, exec, webcord
bind = $mainMod ALT, L, exec, swaylock
# Resize mode

View file

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

View file

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

View file

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

View file

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

View file

@ -2,7 +2,7 @@
assign [app_id="^@joplin/app-desktop$"] 4
assign [app_id="^WebCord$"] 4
assign [class="^Deezer$"] 4
assign [app_id="^Bitwarden$"] 4
assign [app_id="^com.ktechpit.whatsie$"] 4
assign [app_id="^org.prismlauncher.PrismLauncher$"] 5
# 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
sourceif() {
[ -f "$1" ] && . "$1"
}
profile="${HOME}/.profile"
[[ -f $profile ]] && . "$profile"
unset profile
sourceif ~/.profile
sourceif ~/.bashrc
# Source my bashrc
bashrc="${HOME}/.bashrc"
[[ -f $bashrc ]] && . "$bashrc"
unset bashrc
wait
# Fastfetch
fastfetch
# Start Sway if on tty1
if [ "$(tty)" = /dev/tty1 ]; then
exec sway
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
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
exec dbus-launch --exit-with-session ssh-agent "$0" "$@"
fi
cd
xfwm4 &
eval "$(ssh-agent)"
dbus-launch --exit-with-session xfwm4 &
artix-pipewire-launcher &
alacritty
disown %2
st
wait
ssh-agent -k