Skip to content

Commit

Permalink
update: bump to v1.7.0
Browse files Browse the repository at this point in the history
Signed-off-by: moson-mo <mo-son@mailbox.org>
  • Loading branch information
moson-mo committed Sep 29, 2022
1 parent 9aaa891 commit b6c037c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 6 deletions.
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![pacseek](https://img.shields.io/static/v1?label=pacseek&message=v1.6.15&color=1793d1&style=for-the-badge&logo=archlinux)](https://aur.archlinux.org/packages/pacseek/)
[![pacseek-bin](https://img.shields.io/static/v1?label=pacseek-bin&message=v1.6.15&color=1793d1&style=for-the-badge&logo=archlinux)](https://aur.archlinux.org/packages/pacseek-bin/)
[![pacseek](https://img.shields.io/static/v1?label=pacseek&message=v1.7.0&color=1793d1&style=for-the-badge&logo=archlinux)](https://aur.archlinux.org/packages/pacseek/)
[![pacseek-bin](https://img.shields.io/static/v1?label=pacseek-bin&message=v1.7.0&color=1793d1&style=for-the-badge&logo=archlinux)](https://aur.archlinux.org/packages/pacseek-bin/)

[![GitHub Workflow Status](https://img.shields.io/github/workflow/status/moson-mo/pacseek/Build)](https://github.com/moson-mo/pacseek/actions)
[![Go Report Card](https://goreportcard.com/badge/github.com/moson-mo/pacseek)](https://goreportcard.com/report/github.com/moson-mo/pacseek)
Expand Down Expand Up @@ -50,6 +50,10 @@ There are some [examples for configuring other helpers](https://github.com/moson
* Display PKGBUILD file
* Search for upgrades / show list of upgradable packages⁴
* Show a list of all installed packages
* News feed
* Shown on upgrades screen
* Feed URL(s) can be changed
* Clicking on an item will `xdg-open` the URL to the article

¹ (By default, `yay` is being used to install/remove/upgrade packages. You can change this in the settings)
² (only applicable to AUR packages)
Expand All @@ -66,6 +70,7 @@ There are some [examples for configuring other helpers](https://github.com/moson
* [go-cache](https://github.com/patrickmn/go-cache)
* [goaurrpc](https://github.com/moson-mo/goaurrpc)
* [chroma](https://github.com/alecthomas/chroma)
* [gofeed](https://github.com/mmcdole/gofeed)
<br/>

### How to build / run / install
Expand Down
2 changes: 1 addition & 1 deletion doc/pacseek.1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.TH PACSEEK 1 "2022 September" "pacseek 1.6.15"
.TH PACSEEK 1 "2022 September" "pacseek 1.7.0"

.SH NAME

Expand Down
5 changes: 3 additions & 2 deletions internal/pacseek/draw.go
Original file line number Diff line number Diff line change
Expand Up @@ -379,12 +379,13 @@ func (ps *UI) drawNews() {
ps.app.QueueUpdateDraw(func() {
for r, item := range news {
ps.tableNews.SetCell(r, 0, &tview.TableCell{
Text: "[white:black:b]* " + item.Title,
Text: "[white:black:]* [::u]" + item.Title,
Clicked: func() bool {
exec.Command("xdg-open", item.Link).Run()
return true
},
})
}).
SetCellSimple(r, 1, "("+item.PublishedParsed.Format("2006-01-02")+")")
}
})
}()
Expand Down
2 changes: 1 addition & 1 deletion internal/pacseek/ui.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const (
UrlArmPackage = "https://archlinuxarm.org/packages/%s/%s"
UrlRepoPkgbuild = "https://raw.githubusercontent.com/archlinux/svntogit-%s/packages/%s/trunk/PKGBUILD"

version = "1.6.15"
version = "1.7.0"
)

// UI is holding our application information and all tview components
Expand Down

0 comments on commit b6c037c

Please sign in to comment.