spec: update the installation of hyprland configs

parent 082ca28e
......@@ -193,6 +193,7 @@ Summary: GNOME settings for %distro_name
License: Distributable
Group: Graphical desktop/GNOME
AutoReqProv: no
Requires: branding-%flavour-base-settings
%branding_add_conflicts %flavour gnome-settings
%description gnome-settings
......@@ -204,6 +205,7 @@ Summary: Hyprland settings for %distro_name
License: Distributable
Group: Graphical desktop/Other
AutoReqProv: no
Requires: branding-%flavour-base-settings
%branding_add_conflicts %flavour hyprland-settings
%description hyprland-settings
......@@ -231,6 +233,7 @@ Summary(ru_RU.UTF-8): Wiki для дистрибутива %distro_name_ru
License: distributable
Group: System/Base
Provides: indexhtml indexhtml-%theme = %version indexhtml-Desktop = 1:5.0
Requires: xdg-utils
Obsoletes: indexhtml-desktop indexhtml-Desktop
%branding_add_conflicts %flavour indexhtml
......@@ -277,14 +280,18 @@ mkdir -p %buildroot%_sysconfdir/skel/.config/environment.d
install skel/skel/.config/environment.d/qt.conf %buildroot%_sysconfdir/skel/.config/environment.d/qt.conf
#hyprland settings
for i in hypr kitty swaync waybar wofi wlogout ; do
mkdir -p %buildroot%_sysconfdir/skel/.config/$i
cp -r skel/skel/.config/$i %buildroot%_sysconfdir/skel/.config/
for i in hypr kitty waybar ; do
mkdir -p %buildroot%_sysconfdir/skel/.config/$i
cp -r skel/skel/.config/$i %buildroot%_sysconfdir/skel/.config/
done
mkdir -p %buildroot%_sysconfdir/ximperdistro/
cp -r configs/hyprland %buildroot%_sysconfdir/ximperdistro/
for i in swaync wofi wlogout ; do
ln -s %_sysconfdir/ximperdistro/hyprland/$i %buildroot%_sysconfdir/skel/.config/$i
done
install pixmaps/ximperlinux.svg %buildroot%_pixmapsdir/ximperlinux.svg
#backgrounds
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment