Last active
April 18, 2017 18:48
-
-
Save rawzone/12861f6c6fed1a11e0c049eb36b2b9d2 to your computer and use it in GitHub Desktop.
mpv playit script
This file contains hidden or 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
# Play in fullscreen (url in clipboard via mpv, requires xclip) | |
bindsym $mod+m exec --no-startup-id "~/.i3/playit.sh" | |
bindsym $mod+Shift+m exec --no-startup-id "~/.i3/playit-fullscreen.sh |
This file contains hidden or 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 | |
# Simple mpv -fs the url in the clipboard | |
# | |
# Requires xclip to be installed | |
# | |
clipboard="$(xclip -o)" | |
exec mpv -fs "$clipboard" |
This file contains hidden or 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 | |
# Simple mpv -fs the url in the clipboard | |
# | |
# Requires xclip to be installed | |
# | |
clipboard="$(xclip -o)" | |
exec mpv "$clipboard" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment