Skip to content

Commit

Permalink
Show expiry status
Browse files Browse the repository at this point in the history
  • Loading branch information
mikyk10 committed Feb 14, 2023
1 parent d869f80 commit 19a5205
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions src/alkeepass.d/cmd/search.go
Original file line number Diff line number Diff line change
Expand Up @@ -247,6 +247,10 @@ func readEntries(kpe []KPEntry, query []string) *AlfredJSON {
Arg: path,
}

if entry.Entry.Times.Expires.Bool {
item.Title = "🚫(Expired) " + item.Title
}

if entry.Entry.GetContent("UserName") != "" {
item.Mods.Cmd.Valid = true
item.Mods.Cmd.Icon = nil
Expand Down
2 changes: 1 addition & 1 deletion src/info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -1482,7 +1482,7 @@ Alternatively you can also copy `username` and `URL` by holding CMD or ALT befor
<string>Alfred KeePass Workflow</string>
</dict>
<key>version</key>
<string>0.1.0</string>
<string>0.1.1</string>
<key>webaddress</key>
<string>https://github.com/mikyk10/alfred-keepass</string>
</dict>
Expand Down

0 comments on commit 19a5205

Please sign in to comment.