Hacker News new | ask | show | jobs
by UI_at_80x24 1255 days ago
I like what you've done. Here's a snippet from my i3 that I use atleast 5 times a day:

#generate password "pwgen -sy 32" and send to clipboard (uses s to generate more symbols) Also, the NEWLINE is stripped from the end. [tr -d '\n']

    bindsym $mod+F12 exec "pwgen -sy 32 1 | tr -d '\n' | xclip"