Initial version

This commit is contained in:
ferrreo 2023-06-11 21:29:24 +01:00
parent 5e9fa755bc
commit 6d1ca5e181
2 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,9 @@
pika-hyprland-settings (1.0.0-99pika3) lunar; urgency=medium
* Copy files for real this time
-- ferrreo <harderthanfire@gmail.com> Sat, 01 Oct 2022 14:50:00 +0300
pika-hyprland-settings (1.0.0-99pika2) lunar; urgency=medium
* First

View File

@ -5,9 +5,10 @@ set -e
cp -f /etc/skel/.config/examples/metadata.desktop /usr/share/plasma/desktoptheme/Orchis-dark/
cp -f /etc/skel/.config/examples/.profile /etc/skel/
getent passwd |
while IFS=: read username x uid gid gecos home shell
for u in /home/*
do
[[ "$username" == root || ! -d "$home" ]] && continue
tar -cf - -C /etc/skel . | sudo -Hu "$username" tar --skip-old-files -xf -
if ! test -f "${u}/.config/hypr/hypr.conf"
then
cp -R /etc/skel/* "${u}/"
fi
done