diff --git a/.gitmodules b/.gitmodules index 01248a6..33c2250 100644 --- a/.gitmodules +++ b/.gitmodules @@ -253,6 +253,3 @@ [submodule "pkg/toggle-bluetooth"] path = pkg/toggle-bluetooth url = https://aur.archlinux.org/toggle-bluetooth.git -[submodule "pkg/signal-desktop-minimized"] - path = pkg/signal-desktop-minimized - url = https://aur.archlinux.org/signal-desktop-minimized.git diff --git a/.idea/vcs.xml b/.idea/vcs.xml index deea626..616da87 100644 --- a/.idea/vcs.xml +++ b/.idea/vcs.xml @@ -55,6 +55,7 @@ + diff --git a/build-pkg/pkglist-AUR.txt b/build-pkg/pkglist-AUR.txt index 052675e..935990a 100644 --- a/build-pkg/pkglist-AUR.txt +++ b/build-pkg/pkglist-AUR.txt @@ -1,3 +1,3 @@ -adwaita-qt aurutils balena-etcher calindori-git chili-sddm-theme chromaprint-fftw crema davs2 decklink-sdk discord_arch_electron firefox-profile-switcher-connector flite1-patched forklift-git gnome-meta gnome-shell-extension-appindicator-git handbrake-full holo iio-sensor-proxy-git intellij-idea-ultimate-edition jellyfin-bin kirigami-addons-git lensfun-git libklvanc-git libopenmpt-svn librist libwacom-surface mauikit-git meta-group-base-devel mkcue mozilla-common mugshot ncurses5-compat-libs nextcloud-client-git nordic-kde-git opencl-amd openh264 portfolio-file-manager pycharm-professional pyspread python-mpv qt4 qt-installer-framework sddm-theme-deepin-git shine signal-desktop-beta-bin signal-desktop-minimized softmaker-office-2021-bin sphinxbase tagspaces-bin timeshift toggle-bluetooth ttf-material-design-icons-git ttf-unifont uavs3d uavs3d-git umldesigner vo-amrwbenc vobcopy vulkan-amdgpu-pro vulkan-headers-git wkhtmltopdf-static woeusb x264-git xavs xavs2 xfce4-meta xfce4-theme-switcher xorg-meta xournalpp-git yay zoom zotero +adwaita-qt aurutils balena-etcher calindori-git chili-sddm-theme chromaprint-fftw crema davs2 decklink-sdk discord_arch_electron firefox-profile-switcher-connector flite1-patched forklift-git gnome-meta gnome-shell-extension-appindicator-git handbrake-full holo iio-sensor-proxy-git intellij-idea-ultimate-edition jellyfin-bin kirigami-addons-git lensfun-git libklvanc-git libopenmpt-svn librist libwacom-surface mauikit-git meta-group-base-devel mkcue mozilla-common mugshot ncurses5-compat-libs nextcloud-client-git nordic-kde-git opencl-amd openh264 portfolio-file-manager pycharm-professional pyspread python-mpv qt4 qt-installer-framework sddm-theme-deepin-git shine signal-desktop-beta-bin softmaker-office-2021-bin sphinxbase tagspaces-bin timeshift toggle-bluetooth ttf-material-design-icons-git ttf-unifont uavs3d uavs3d-git umldesigner vo-amrwbenc vobcopy vulkan-amdgpu-pro vulkan-headers-git wkhtmltopdf-static woeusb x264-git xavs xavs2 xfce4-meta xfce4-theme-switcher xorg-meta xournalpp-git yay zoom zotero adwaita-qt4 fedora-firefox-wayland-bin kclock pocketsphinx riseup-vpn youplay zoom-firejail ffmpeg-amd-full riseup-vpn-terminal diff --git a/build-pkg/pkglist-de-p1st.txt b/build-pkg/pkglist-de-p1st.txt index 4b67e1b..4515b5d 100644 --- a/build-pkg/pkglist-de-p1st.txt +++ b/build-pkg/pkglist-de-p1st.txt @@ -1,4 +1,4 @@ -de-p1st-docker de-p1st-zoom de-p1st-rotate de-p1st-locale de-p1st-systemd de-p1st-sudo de-p1st-screen de-p1st-htop de-p1st-pacman de-p1st-pacman-mirrorlist de-p1st-networkmanager de-p1st-ucode-placeholder de-p1st-ucode-intel de-p1st-ucode-amd de-p1st-nano de-p1st-mkinitcpio de-p1st-makepkg de-p1st-grub de-p1st-font de-p1st-keyboard-de de-p1st-keyboard-x11-de de-p1st-gnupg de-p1st-redshift de-p1st-theme de-p1st-sddm-autologin-placeholder de-p1st-sddm-autologin-yoda de-p1st-sddm-theme-default de-p1st-sddm-theme-nordic de-p1st-gpu-generic de-p1st-gpu-amdgpu de-p1st-installer de-p1st-repo de-p1st-ssh-key-placeholder de-p1st-ssh-key-yoda +de-p1st-signal-desktop de-p1st-docker de-p1st-zoom de-p1st-rotate de-p1st-locale de-p1st-systemd de-p1st-sudo de-p1st-screen de-p1st-htop de-p1st-pacman de-p1st-pacman-mirrorlist de-p1st-networkmanager de-p1st-ucode-placeholder de-p1st-ucode-intel de-p1st-ucode-amd de-p1st-nano de-p1st-mkinitcpio de-p1st-makepkg de-p1st-grub de-p1st-font de-p1st-keyboard-de de-p1st-keyboard-x11-de de-p1st-gnupg de-p1st-redshift de-p1st-theme de-p1st-sddm-autologin-placeholder de-p1st-sddm-autologin-yoda de-p1st-sddm-theme-default de-p1st-sddm-theme-nordic de-p1st-gpu-generic de-p1st-gpu-amdgpu de-p1st-installer de-p1st-repo de-p1st-ssh-key-placeholder de-p1st-ssh-key-yoda de-p1st-smartcard de-p1st-kernel-default de-p1st-kernel-lts de-p1st-dns de-p1st-ssh de-p1st-base de-p1st-xfce4 diff --git a/pkg/de-p1st-signal-desktop/.install b/pkg/de-p1st-signal-desktop/.install new file mode 100644 index 0000000..b754ef5 --- /dev/null +++ b/pkg/de-p1st-signal-desktop/.install @@ -0,0 +1,15 @@ +## arg 1: the new package version +post_install() { + holo apply +} + +## arg 1: the new package version +## arg 2: the old package version +post_upgrade() { + holo apply +} + +## arg 1: the old package version +post_remove() { + holo apply +} diff --git a/pkg/de-p1st-signal-desktop/PKGBUILD b/pkg/de-p1st-signal-desktop/PKGBUILD new file mode 100644 index 0000000..91e24b9 --- /dev/null +++ b/pkg/de-p1st-signal-desktop/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Daniel Langbein +_pkgname=signal-desktop +_reponame=arch +pkgname="de-p1st-$_pkgname" +pkgver=0.0.1 +pkgrel=1 +pkgdesc="Signal Desktop with modified .desktop entry to start minimized in system tray" +arch=('any') +url="https://codeberg.org/privacy1st/${_reponame}" +license=('MIT') +install='.install' +depends=('signal-desktop') +depends+=('holo' 'git' 'base') # holo and its dependencies: git because of git-diff; without base "holo apply" may fail on initial system installation +makedepends=('git') +source=("git+${url}.git") +sha256sums=('SKIP') + +package() { + cd "${_reponame}/pkg/${pkgname}" + + # Holo files script do change the "Exec=" line of the .desktop file + install -Dm0544 signal-desktop.desktop.holoscript "$pkgdir"/usr/share/holo/files/"$pkgname"/usr/share/applications/signal-desktop.desktop.holoscript +} diff --git a/pkg/de-p1st-signal-desktop/signal-desktop.desktop.holoscript b/pkg/de-p1st-signal-desktop/signal-desktop.desktop.holoscript new file mode 100644 index 0000000..0df2d2d --- /dev/null +++ b/pkg/de-p1st-signal-desktop/signal-desktop.desktop.holoscript @@ -0,0 +1,5 @@ +#!/bin/sh +# stdin: original signal-desktop.desktop file +# stdout: .desktop file with modified "Exec=..." entry + +sed 's|^Exec=signal-desktop|Exec=signal-desktop --use-tray-icon --start-in-tray|' diff --git a/pkg/signal-desktop-minimized b/pkg/signal-desktop-minimized deleted file mode 160000 index a10a88b..0000000 --- a/pkg/signal-desktop-minimized +++ /dev/null @@ -1 +0,0 @@ -Subproject commit a10a88b624fb34e6a368c0fad5627414189bc11c