Initial version
This commit is contained in:
parent
5e9fa755bc
commit
6d1ca5e181
@ -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
|
pika-hyprland-settings (1.0.0-99pika2) lunar; urgency=medium
|
||||||
|
|
||||||
* First
|
* First
|
||||||
|
@ -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/metadata.desktop /usr/share/plasma/desktoptheme/Orchis-dark/
|
||||||
cp -f /etc/skel/.config/examples/.profile /etc/skel/
|
cp -f /etc/skel/.config/examples/.profile /etc/skel/
|
||||||
|
|
||||||
getent passwd |
|
for u in /home/*
|
||||||
while IFS=: read username x uid gid gecos home shell
|
|
||||||
do
|
do
|
||||||
[[ "$username" == root || ! -d "$home" ]] && continue
|
if ! test -f "${u}/.config/hypr/hypr.conf"
|
||||||
tar -cf - -C /etc/skel . | sudo -Hu "$username" tar --skip-old-files -xf -
|
then
|
||||||
|
cp -R /etc/skel/* "${u}/"
|
||||||
|
fi
|
||||||
done
|
done
|
Loading…
Reference in New Issue
Block a user