Skip to content

Commit

Permalink
Add totp and launch url shortcuts to settings ui
Browse files Browse the repository at this point in the history
  • Loading branch information
quexten committed Jan 20, 2024
1 parent 25b72e4 commit def7f7a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions ui/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,11 +113,23 @@ def unlock_button_clicked():
self.copy_password_shortcut_row.set_subtitle("P")
self.shortcut_preferences_group.add(self.copy_password_shortcut_row)

self.copy_totp_shortcut_row = Adw.ActionRow()
self.copy_totp_shortcut_row.set_title("Copy TOTP Shortcut")
self.copy_totp_shortcut_row.set_subtitle("T")
self.shortcut_preferences_group.add(self.copy_totp_shortcut_row)

self.launch_uri_shortcut_row = Adw.ActionRow()
self.launch_uri_shortcut_row.set_title("Launch URI Shortcut")
self.launch_uri_shortcut_row.set_subtitle("L")
self.shortcut_preferences_group.add(self.launch_uri_shortcut_row)

self.launch_web_vault_shortcut_row = Adw.ActionRow()
self.launch_web_vault_shortcut_row.set_title("Launch Web Vault Shortcut")
self.launch_web_vault_shortcut_row.set_subtitle("V")
self.shortcut_preferences_group.add(self.launch_web_vault_shortcut_row)



self.vault_status_preferences_group = Adw.PreferencesGroup()
self.vault_status_preferences_group.set_title("Vault Status")
self.preferences_page.add(self.vault_status_preferences_group)
Expand Down

0 comments on commit def7f7a

Please sign in to comment.