Initial import

This commit is contained in:
2023-10-01 20:31:40 +02:00
commit 12c7fa2945
2 changed files with 33 additions and 0 deletions

8
README.rst Normal file
View File

@@ -0,0 +1,8 @@
gtkpass
=======
Gtkpass is a simple GUI for the `pass`_ password manager written in Python and
GTK 3.0.
.. _pass: https://www.passwordstore.org

25
gtkpass.py Executable file
View File

@@ -0,0 +1,25 @@
#!/usr/bin/env python
import signal
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import GLib
from gi.repository import Gtk
class GTKPass(Gtk.Window):
def __init__(self):
Gtk.Window.__init__(self, title="GTKPass")
self.show_all()
def main():
app = GTKPass()
app.connect("delete-event", Gtk.main_quit)
GLib.unix_signal_add(GLib.PRIORITY_DEFAULT, signal.SIGINT, Gtk.main_quit)
Gtk.main()
if __name__ == '__main__':
main()