From 07e343575c4b8758598967a2261ac044828a6fe1 Mon Sep 17 00:00:00 2001 From: Jonas Strassel Date: Fri, 30 Jun 2023 16:54:08 +0200 Subject: [PATCH] :sparkles: Add discord icon --- PKGBUILD | 8 ++++---- static/default_config.toml | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/PKGBUILD b/PKGBUILD index bd8535d..3f14112 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -4,7 +4,7 @@ pkgname=sworkstyle _pkgname=swayest_workstyle pkgver=1.3.5 -pkgrel=2 +pkgrel=3 pkgdesc="Swayest Workstyle - This tool will rename workspaces to the icons configured. Mainly meant for Sway WM" arch=("x86_64" "aarch64") url="https://github.com/Lyr-7D1h/swayest_workstyle" @@ -19,17 +19,17 @@ sha256sums=('cee6b56c85c15d80200a2ccac5522ec65127dad4f44c5c345b64e3cc9ebb9e15' 'd16f4284fe6419603db058b878a32a56574a51409648a6ddbd1b516d50cb3eb7') prepare() { - cd "$_pkgname-$pkgver" + cd "$_pkgname-$pkgver" || exit cp ../../static/default_config.toml default_config.toml } build() { - cd "$_pkgname-$pkgver" + cd "$_pkgname-$pkgver" || exit cargo build --release --locked } package() { - cd "$_pkgname-$pkgver" + cd "$_pkgname-$pkgver" || exit install -D -m755 "target/release/$pkgname" "$pkgdir/usr/bin/sworkstyle" install -D -m644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" install -D -m644 "$srcdir/$pkgname.man" "$pkgdir/usr/share/man/man1/$pkgname.1" diff --git a/static/default_config.toml b/static/default_config.toml index 780aee0..4919846 100644 --- a/static/default_config.toml +++ b/static/default_config.toml @@ -37,6 +37,7 @@ fallback = '' 'chromium' = '' 'firefox' = '' 'firefoxdeveloperedition' = '' +'vivaldi-stable' = '' ## default applications 'foot' = '' @@ -68,6 +69,7 @@ fallback = '' 'org.telegram.desktop' = '' '/Microsoft Teams/' = '' 'Signal' = '󰍡' +'discord' = '󰙯' ## auth 'polkit-gnome-authentication-agent-1' = ''