Compare commits
19 commits
af9f25cedb
...
bc7e7a72a2
Author | SHA1 | Date | |
---|---|---|---|
|
bc7e7a72a2 | ||
|
7fff94f62a | ||
|
425782430f | ||
|
efb096970d | ||
|
0d8d6628f2 | ||
|
9e0be13223 | ||
|
2463d7e589 | ||
|
41ec79337b | ||
|
7fb3eff9dc | ||
|
5ccd172621 | ||
|
a03ac5499a | ||
|
df25a6f508 | ||
|
dd26ecd2db | ||
|
84bcc14b67 | ||
|
17286ba326 | ||
|
a156705e61 | ||
|
e9df504f59 | ||
|
f9f3db7bfd | ||
|
6c395c0889 |
18 changed files with 53 additions and 29 deletions
|
@ -7,7 +7,7 @@ exec_as() {
|
|||
if [ "$(whoami)" != "$user" ]; then
|
||||
exec sudo -u "$user" "$0" "$@"
|
||||
else
|
||||
cd
|
||||
cd || return
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
@ -42,6 +42,8 @@ case "$script" in
|
|||
main "$@"
|
||||
;;
|
||||
*)
|
||||
# Oui, ShellCheck, c'est bel et bien ce que j'essaie de faire
|
||||
# shellcheck disable=SC2211
|
||||
"${scripts_d}/"??"-${script}" "$@"
|
||||
;;
|
||||
esac
|
||||
|
|
|
@ -37,7 +37,7 @@ if [ -n "$separator" ]; then
|
|||
fi
|
||||
|
||||
# Exécution
|
||||
if ! ssh_bridge_already_exists; then
|
||||
if ! ssh_bridge_already_exists "${ssh_args[1]}"; then
|
||||
ssh-fwd "${ssh_args[@]}" -- "$@" || exit
|
||||
else
|
||||
echo "Le pont SSH existe déjà !"
|
||||
|
|
|
@ -1,7 +1,10 @@
|
|||
#!/bin/sh
|
||||
/usr/lib/xdg-desktop-portal-wlr &
|
||||
mkdir -p "${XDG_RUNTIME_DIR}/ssh" &
|
||||
dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||
/usr/lib/xdg-desktop-portal-wlr &
|
||||
|
||||
sleep 1
|
||||
artix-pipewire-launcher &
|
||||
waybar
|
||||
|
||||
wait
|
||||
|
|
1
config/electron24-flags.conf
Symbolic link
1
config/electron24-flags.conf
Symbolic link
|
@ -0,0 +1 @@
|
|||
electron-flags.conf
|
|
@ -92,6 +92,10 @@ 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
|
||||
|
|
|
@ -98,7 +98,9 @@ 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, webcord
|
||||
bind = $mainMod, F3, exec, $bitwarden
|
||||
bind = $mainMod, F4, exec, $discord
|
||||
bind = $mainMod, F5, exec, $deezer
|
||||
bind = $mainMod ALT, L, exec, swaylock
|
||||
|
||||
# Resize mode
|
||||
|
|
|
@ -1,11 +1,8 @@
|
|||
# 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
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# Workspace 4
|
||||
windowrule = workspace 4 silent, ^(WebCord)$
|
||||
windowrule = workspace 4 silent, ^(@joplin/app-desktop)$
|
||||
windowrule = workspace 4 silent, ^(whatsapp-nativefier-.*)$
|
||||
windowrule = workspace 4 silent, ^(Bitwarden)$
|
||||
windowrule = workspace 4 silent, ^(Deezer)$
|
||||
|
||||
# Floating windows
|
||||
|
|
|
@ -9,6 +9,8 @@ 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
|
||||
|
|
|
@ -9,7 +9,9 @@ bindsym $mod+Return exec $term
|
|||
bindsym $mod+d exec $menu
|
||||
bindsym $mod+F1 exec $browser
|
||||
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
|
||||
bindsym $mod+$left focus left
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
assign [app_id="^@joplin/app-desktop$"] 4
|
||||
assign [app_id="^WebCord$"] 4
|
||||
assign [class="^Deezer$"] 4
|
||||
assign [app_id="^com.ktechpit.whatsie$"] 4
|
||||
assign [app_id="^Bitwarden$"] 4
|
||||
assign [app_id="^org.prismlauncher.PrismLauncher$"] 5
|
||||
|
||||
# Windows rules
|
||||
|
|
6
config/updateall/scripts/10-paru
Executable file
6
config/updateall/scripts/10-paru
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/bin/sh
|
||||
paru -Scc
|
||||
paru -Fy
|
||||
paru
|
||||
paru -Qdtq | paru -Rns -
|
||||
|
1
etc/bash/bashrc.d/70-globstar.bashrc
Normal file
1
etc/bash/bashrc.d/70-globstar.bashrc
Normal file
|
@ -0,0 +1 @@
|
|||
shopt -s globstar
|
|
@ -1,18 +1,16 @@
|
|||
fastfetch &
|
||||
|
||||
# Source my profile
|
||||
profile="${HOME}/.profile"
|
||||
[[ -f $profile ]] && . "$profile"
|
||||
unset profile
|
||||
sourceif() {
|
||||
[ -f "$1" ] && . "$1"
|
||||
}
|
||||
|
||||
# Source my bashrc
|
||||
bashrc="${HOME}/.bashrc"
|
||||
[[ -f $bashrc ]] && . "$bashrc"
|
||||
unset bashrc
|
||||
sourceif ~/.profile
|
||||
sourceif ~/.bashrc
|
||||
|
||||
# Fastfetch
|
||||
fastfetch
|
||||
wait
|
||||
|
||||
# Start Sway if on tty1
|
||||
if [ "$(tty)" = /dev/tty1 ]; then
|
||||
exec sway
|
||||
fi
|
||||
|
||||
|
|
1
home/shrc.d/arch_aliases
Normal file
1
home/shrc.d/arch_aliases
Normal file
|
@ -0,0 +1 @@
|
|||
alias pm=paru
|
5
ssh/config
Normal file
5
ssh/config
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Control master
|
||||
ControlPath ${XDG_RUNTIME_DIR}/ssh/control-%C
|
||||
|
||||
# SSH agent
|
||||
AddKeysToAgent yes
|
16
vnc/xstartup
16
vnc/xstartup
|
@ -1,10 +1,10 @@
|
|||
#!/bin/sh
|
||||
cd
|
||||
eval "$(ssh-agent)"
|
||||
dbus-launch --exit-with-session xfwm4 &
|
||||
artix-pipewire-launcher &
|
||||
disown %2
|
||||
st
|
||||
wait
|
||||
ssh-agent -k
|
||||
if [ -z "$DBUS_SESSION_BUS_ADDRESS" ]; then
|
||||
exec dbus-launch --exit-with-session ssh-agent "$0" "$@"
|
||||
fi
|
||||
|
||||
cd
|
||||
xfwm4 &
|
||||
artix-pipewire-launcher &
|
||||
alacritty
|
||||
wait
|
||||
|
|
Loading…
Reference in a new issue