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
|
||||
|
||||
* 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/.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
|
Loading…
Reference in New Issue
Block a user