mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-03 17:41:58 +02:00
fix: Open Steamify from the notification starts the app (own scope), the same way it was last used (app or terminal)
This commit is contained in:
1 parent
cf73229756
commit
572417bd7b
4 files changed
+25
-9
No files matched your search
@@ -19,8 +19,11 @@ notify_status() {
|
||||
|
||||
notify_seen() {
|
||||
# Every run records its version: the notifier compares the newest
|
||||
# release with it, so opening Steamify ends a reminder.
|
||||
notify_status && state_set notify seen "$VERSION"
|
||||
# release with it, so opening Steamify ends a reminder. Also whether it
|
||||
# was the app or the terminal menu: the notification opens the same.
|
||||
notify_status || return 0
|
||||
state_set notify seen "$VERSION"
|
||||
if [[ "$BACKEND" == true ]]; then state_set notify frontend app; else state_set notify frontend terminal; fi
|
||||
}
|
||||
|
||||
notify_enable() {
|
||||
|
||||
Reference in new issue
Block a user