Last active
February 18, 2022 20:08
-
-
Save nephitejnf/1afda4224959efa55e6acbf76f8a06bd to your computer and use it in GitHub Desktop.
A script that helps making getting your common copypastas into clipboard quicker
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
# Version 2, December 2004 | |
# | |
# Copyright (C) 2004 Sam Hocevar <sam@hocevar.net> | |
# | |
# Everyone is permitted to copy and distribute verbatim or modified | |
# copies of this license document, and changing it is allowed as long | |
# as the name is changed. | |
# | |
# DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
# TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION | |
# | |
# 0. You just DO WHAT THE FUCK YOU WANT TO. | |
xclip -selection clipboard -i ~/.config/copypastas/$(ls ~/.config/copypastas/ | dmenu -l 5 -p "Which pasta?") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment