Skip to content

Commit

Permalink
fix(unicorn-desktop-git): reduce appmenu size slightly (#6037)
Browse files Browse the repository at this point in the history
Co-authored-by: ook37 <[email protected]>
  • Loading branch information
oklopfer and ook37 authored May 21, 2024
1 parent 8354758 commit 7116c22
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion packages/unicorn-desktop-git/.SRCINFO
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pkgname = unicorn-desktop-git
gives = unicorn-desktop
pkgver = 0.0.1
pkgrel = 3
pkgrel = 4
pkgdesc = Unicorn Desktop by the Rhino Linux Team
priority = required
source = https://github.com/rhino-linux/unicorn.git
Expand Down
6 changes: 3 additions & 3 deletions packages/unicorn-desktop-git/unicorn-desktop-git.pacscript
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
pkgname="unicorn-desktop-git"
source=("https://github.com/rhino-linux/unicorn.git")
pkgver="0.0.1"
pkgrel="3"
pkgrel="4"
depends=("xfwm4" "xfdashboard" "xfdashboard-plugins" "xfce4-appmenu-plugin" "vala-panel-plugins-wnck"
"vala-panel-appmenu" "appmenu-gtk2-module" "appmenu-gtk3-module" "xfce4-power-manager"
"xfce4-power-manager-plugins" "xfce4-pulseaudio-plugin" "xfce4-helpers" "pavucontrol"
Expand Down Expand Up @@ -66,7 +66,7 @@ package() {
install -Dm644 "unicorn_badge-symbolic.svg" -t "${pkgdir}/usr/share/icons/hicolor/scalable/places"
install -Dm644 "logo.png" -t "${pkgdir}/usr/share/icons"
install -Dm644 "logo.svg" -t "${pkgdir}/usr/share/icons"
printf ".-vala-panel-appmenu-core > * {\n min-width: 1440px;\n}\n" | tee "${pkgdir}/etc/skel/.config/gtk-3.0/gtk.css" > /dev/null
printf ".-vala-panel-appmenu-core > * {\n min-width: 1430px;\n}\n" | tee "${pkgdir}/etc/skel/.config/gtk-3.0/gtk.css" > /dev/null
}

post_install() {
Expand Down Expand Up @@ -95,7 +95,7 @@ post_install() {
mkdir -p "/home/${PACSTALL_USER}/.config/gtk-3.0"
fi
if [[ ! -f "/home/${PACSTALL_USER}/.config/gtk-3.0/gtk.css" ]] || ! grep -q 'vala-panel-appmenu-core' "/home/${PACSTALL_USER}/.config/gtk-3.0/gtk.css"; then
printf ".-vala-panel-appmenu-core > * {\n min-width: 1440px;\n}\n" | tee -a "/home/${PACSTALL_USER}/.config/gtk-3.0/gtk.css" > /dev/null
printf ".-vala-panel-appmenu-core > * {\n min-width: 1430px;\n}\n" | tee -a "/home/${PACSTALL_USER}/.config/gtk-3.0/gtk.css" > /dev/null
fi
sudo chown -cR "${PACSTALL_USER}" "${homedir}/.config/gtk-3.0"
}

0 comments on commit 7116c22

Please sign in to comment.