added regreet conf

parent f3c7e14b
...@@ -30,7 +30,7 @@ BuildRequires: design-bootloader-source >= 5.0-alt2 fribidi ...@@ -30,7 +30,7 @@ BuildRequires: design-bootloader-source >= 5.0-alt2 fribidi
BuildRequires(pre): rpm-macros-branding BuildRequires(pre): rpm-macros-branding
BuildRequires: libalternatives-devel BuildRequires: libalternatives-devel
BuildRequires: qt5-base-devel BuildRequires: qt6-base-devel
BuildRequires: ImageMagick fontconfig bc BuildRequires: ImageMagick fontconfig bc
...@@ -130,7 +130,6 @@ Provides: design-graphics = %design_graphics_abi_major.%design_graphics_abi_mino ...@@ -130,7 +130,6 @@ Provides: design-graphics = %design_graphics_abi_major.%design_graphics_abi_mino
Requires(post,preun): alternatives >= 0.2 Requires(post,preun): alternatives >= 0.2
%description graphics %description graphics
This package contains some graphics for %distro_name design. This package contains some graphics for %distro_name design.
...@@ -198,6 +197,17 @@ AutoReqProv: no ...@@ -198,6 +197,17 @@ AutoReqProv: no
%description sddm-settings %description sddm-settings
SDDM settings for %distro_name SDDM settings for %distro_name
%package regreet-settings
BuildArch: noarch
Summary: ReGreet settings for %distro_name
License: Distributable
Group: Graphical desktop/Other
AutoReqProv: no
%branding_add_conflicts %flavour regreet-settings
%description regreet-settings
ReGreet settings for %distro_name
%package gnome-settings %package gnome-settings
BuildArch: noarch BuildArch: noarch
Summary: GNOME settings for %distro_name Summary: GNOME settings for %distro_name
...@@ -265,7 +275,6 @@ BuildArch: noarch ...@@ -265,7 +275,6 @@ BuildArch: noarch
%description backgrounds %description backgrounds
This package contains backgrounds for %distro_name. This package contains backgrounds for %distro_name.
%prep %prep
%setup -n branding %setup -n branding
...@@ -290,11 +299,15 @@ install skel/skel/.config/Kvantum/kvantum.kvconfig %buildroot%_sysconfdir/skel/ ...@@ -290,11 +299,15 @@ install skel/skel/.config/Kvantum/kvantum.kvconfig %buildroot%_sysconfdir/skel/
mkdir -p %buildroot%_sysconfdir/skel/.config/environment.d mkdir -p %buildroot%_sysconfdir/skel/.config/environment.d
install skel/skel/.config/environment.d/qt.conf %buildroot%_sysconfdir/skel/.config/environment.d/qt.conf install skel/skel/.config/environment.d/qt.conf %buildroot%_sysconfdir/skel/.config/environment.d/qt.conf
#sddm # sddm
install -d %buildroot%_sysconfdir/sddm.conf.d/ install -d %buildroot%_sysconfdir/sddm.conf.d/
cp configs/sddm/%theme.conf %buildroot%_sysconfdir/sddm.conf.d/%theme.conf cp configs/sddm/%theme.conf %buildroot%_sysconfdir/sddm.conf.d/%theme.conf
#hyprland settings # ReGreet
install -d %buildroot%_sysconfdir/greetd/
cp configs/greetd-regreet/regreet.toml %buildroot%_sysconfdir/greetd/regreet.toml
# hyprland settings
for i in hypr kitty waybar ; do for i in hypr kitty waybar ; do
mkdir -p %buildroot%_sysconfdir/skel/.config/$i mkdir -p %buildroot%_sysconfdir/skel/.config/$i
cp -r skel/skel/.config/$i %buildroot%_sysconfdir/skel/.config/ cp -r skel/skel/.config/$i %buildroot%_sysconfdir/skel/.config/
...@@ -317,13 +330,13 @@ done ...@@ -317,13 +330,13 @@ done
install pixmaps/ximperlinux.svg %buildroot%_pixmapsdir/ximperlinux.svg install pixmaps/ximperlinux.svg %buildroot%_pixmapsdir/ximperlinux.svg
#backgrounds # backgrounds
install -pD -m644 -t %buildroot%_datadir/wallpapers/ximper/ ximperwallpapers/* install -pD -m644 -t %buildroot%_datadir/wallpapers/ximper/ ximperwallpapers/*
./imgtognome.sh %buildroot%_datadir/wallpapers/ximper/ ./imgtognome.sh %buildroot%_datadir/wallpapers/ximper/
mkdir -p %buildroot%_datadir/gnome-background-properties mkdir -p %buildroot%_datadir/gnome-background-properties
mv %buildroot%_datadir/wallpapers/ximper/ximper.xml %buildroot%_datadir/gnome-background-properties/ mv %buildroot%_datadir/wallpapers/ximper/ximper.xml %buildroot%_datadir/gnome-background-properties/
#bootloader # bootloader
%ifarch %ix86 x86_64 %ifarch %ix86 x86_64
%pre bootloader %pre bootloader
[ -s /boot/splash/%theme ] && rm -fr /boot/splash/%theme ||: [ -s /boot/splash/%theme ] && rm -fr /boot/splash/%theme ||:
...@@ -344,11 +357,11 @@ shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_HIGHLIGHT %grub_high ...@@ -344,11 +357,11 @@ shell_config_set /etc/sysconfig/grub2 GRUB_COLOR_HIGHLIGHT %grub_high
%exclude /boot/grub/themes/%theme %exclude /boot/grub/themes/%theme
%endif %endif
#bootsplash # bootsplash
%post bootsplash %post bootsplash
sed -i "s/Theme=.*/Theme=%plymouth_theme/" /etc/plymouth/plymouthd.conf ||: sed -i "s/Theme=.*/Theme=%plymouth_theme/" /etc/plymouth/plymouthd.conf ||:
#notes # notes
%post notes %post notes
if ! [ -e %_datadir/alt-notes/license.all.html ]; then if ! [ -e %_datadir/alt-notes/license.all.html ]; then
cp -a %data_cur_dir/alt-notes/license.*.html %_datadir/alt-notes/ cp -a %data_cur_dir/alt-notes/license.*.html %_datadir/alt-notes/
...@@ -393,6 +406,9 @@ fi ...@@ -393,6 +406,9 @@ fi
%files sddm-settings %files sddm-settings
%_sysconfdir/sddm.conf.d/%theme.conf %_sysconfdir/sddm.conf.d/%theme.conf
%files regreet-settings
%_sysconfdir/greetd/regreet.toml
%files gnome-settings %files gnome-settings
%_datadir/glib-2.0/schemas/ximper-linux-gnome.gschema.override %_datadir/glib-2.0/schemas/ximper-linux-gnome.gschema.override
%_sysconfdir/skel/.config/environment.d/qt.conf %_sysconfdir/skel/.config/environment.d/qt.conf
......
[background]
path = "/usr/share/wallpapers/ximper/66.png"
fit = "Fill"
[GTK]
application_prefer_dark_theme = true
[commands]
reboot = ["systemctl", "reboot"]
poweroff = ["systemctl", "poweroff"]
[appearance]
greeting_msg = ""
[widget.clock]
format = "%a %H:%M"
resolution = "500ms"
label_width = 1000
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