babab/DisPass — pull request #10 by ryuslash (2012-09-20 23:28:30+00:00)
Title: Cleanup, focus, friendliness and lazyness

Have some more selfish unrequested patches. Take or leave any or all of these as you see fit, mostly the first and last ones are the more important ones to me, the middle one was just a minor annoyance.

The first change is because I tend to leave `gdispass` open after generating a password, and the less people can see, the better. I then noticed how unclean it looked to keep the password input focused, so I thought I'd focus the output, perhaps help a little with getting the selection too.

The second change is only becaus `gdispass` didn't have an easy way to quit without a title bar, since I'm apparently too lazy to remember the "kill window" keybinding of my window manager I kept using `Control-c` on the command line I use to open it and got tired of seeing the stack trace.

The last one is pretty much for the same reason, didn't feel like switching over to a terminal, pressing `Control-c` and then switching back in order for it to register the interrupt all the time just to close it.

Anyway, I hope there's something usable in here for you.