Last active
March 4, 2022 11:15
-
-
Save suryaanshah/bdccdd2676c8c0d0b306303be5914d29 to your computer and use it in GitHub Desktop.
For privacy and usability reasons, I watch invidious (youtube's privacy-friendly alternative frontend) or anything in mpv (and media player just like vlc). But copying links, opening terminal, and then playing is anoying. So this script is for that, it plays whatever is in your keyboard. I recommend making a dwm keybinding for it. (or whatver ot…
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/bash | |
notify-send "Playing $(xclip -o -selection clipboard)" | |
mpv "$(xclip -o -selection clipboard)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment