Skip to content

Commit

Permalink
✨ Add discord icon
Browse files Browse the repository at this point in the history
  • Loading branch information
boredland committed Jun 30, 2023
1 parent d6d751c commit 07e3435
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
8 changes: 4 additions & 4 deletions PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -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"
Expand Down
2 changes: 2 additions & 0 deletions static/default_config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ fallback = ''
'chromium' = ''
'firefox' = ''
'firefoxdeveloperedition' = ''
'vivaldi-stable' = ''

## default applications
'foot' = ''
Expand Down Expand Up @@ -68,6 +69,7 @@ fallback = ''
'org.telegram.desktop' = ''
'/Microsoft Teams/' = ''
'Signal' = '󰍡'
'discord' = '󰙯'

## auth
'polkit-gnome-authentication-agent-1' = ''
Expand Down

0 comments on commit 07e3435

Please sign in to comment.