Me suis trompé j'avais mis des liens
This commit is contained in:
@@ -1 +0,0 @@
|
||||
/home/ssfunerals/confscript.sh
|
||||
30
scripts/confscript.sh
Normal file
30
scripts/confscript.sh
Normal file
@@ -0,0 +1,30 @@
|
||||
#!/bin/bash
|
||||
|
||||
kitty="/home/ssfunerals/.config/kitty/kitty.conf"
|
||||
hyprland="/home/ssfunerals/.config/hypr/hyprland.conf"
|
||||
hyprlocl="/home/ssfunerals/.config/hypr/hyprlock.conf"
|
||||
waybar="/home/ssfunerals/.config/waybar/config"
|
||||
|
||||
if [ -z "$1" ]; then
|
||||
echo "Usage: $0 [kitty|hyprland|hyprlock|waybar]"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
kitty)
|
||||
nano "$kitty"
|
||||
;;
|
||||
hyprland)
|
||||
nano "$hyprland"
|
||||
;;
|
||||
hyprlock)
|
||||
nano "$hyprlocl"
|
||||
;;
|
||||
waybar)
|
||||
nano "$waybar"
|
||||
;;
|
||||
*)
|
||||
echo "Erreur : option invalide. Choisissez parmi [kitty|hyprland|hyprlock|waybar]."
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user