From 4a351289946ec755f3545707e1dac9b39d9695cc Mon Sep 17 00:00:00 2001 From: Ward Nakchbandi Date: Thu, 29 Sep 2022 20:12:13 +0300 Subject: [PATCH] commit --- nobara-gnome-layouts.spec | 3 ++- .../scripts/nobara-layouts/layout-scripts/unity.sh | 2 +- .../share/applications/nobara-gnome-layouts.desktop | 10 ++++++++++ 3 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 src/usr/share/applications/nobara-gnome-layouts.desktop diff --git a/nobara-gnome-layouts.spec b/nobara-gnome-layouts.spec index fec1393..0551db1 100644 --- a/nobara-gnome-layouts.spec +++ b/nobara-gnome-layouts.spec @@ -2,7 +2,7 @@ BuildArch: noarch Name: nobara-gnome-layouts Version: 1.0 -Release: 4%{?dist} +Release: 5%{?dist} License: GPLv2 Group: System Environment/Libraries Summary: Nobara's Gnome layouts App @@ -71,6 +71,7 @@ Nobara's Python3 & GTK3 built Gnome layouts App %attr(0755, root, root) "/etc/nobara/scripts/nobara-layouts/settings-scripts/*.sh" %attr(0644, root, root) "/etc/nobara/scripts/nobara-layouts/previews/*.svg" %attr(0644, root, root) "/usr/share/licenses/nobara-gnome-layouts/LICENSE" +%attr(0644, root, root) "/usr/share/applications/nobara-gnome-layouts.desktop" %post glib-compile-schemas /usr/share/glib-2.0/schemas/ diff --git a/src/etc/nobara/scripts/nobara-layouts/layout-scripts/unity.sh b/src/etc/nobara/scripts/nobara-layouts/layout-scripts/unity.sh index d7533d5..6b86f33 100755 --- a/src/etc/nobara/scripts/nobara-layouts/layout-scripts/unity.sh +++ b/src/etc/nobara/scripts/nobara-layouts/layout-scripts/unity.sh @@ -19,7 +19,7 @@ gnome-extensions reset window-list@gnome-shell-extensions.gcampax.github.com || # add new settings -gsettings set org.gnome.shell.extensions.dash-to-dock dash-max-icon-size 64 +gsettings set org.gnome.shell.extensions.dash-to-dock dash-max-icon-size 48 gsettings set org.gnome.shell.extensions.dash-to-dock dock-fixed true diff --git a/src/usr/share/applications/nobara-gnome-layouts.desktop b/src/usr/share/applications/nobara-gnome-layouts.desktop new file mode 100644 index 0000000..0933fd8 --- /dev/null +++ b/src/usr/share/applications/nobara-gnome-layouts.desktop @@ -0,0 +1,10 @@ +[Desktop Entry] +Name=Nobara Desktop Layouts +Exec=/usr/bin/nobara-gnome-layouts +Icon=desktop +Terminal=false +Type=Application +Terminal=false +Categories=GNOME;GTK;Utility; +Keywords=Gnome;GTK +OnlyShowIn=GNOME