aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config/sxhkd/sxhkdrc5
-rwxr-xr-xxinitrc3
2 files changed, 8 insertions, 0 deletions
diff --git a/config/sxhkd/sxhkdrc b/config/sxhkd/sxhkdrc
index 9931cd7..9e0bc58 100644
--- a/config/sxhkd/sxhkdrc
+++ b/config/sxhkd/sxhkdrc
@@ -141,6 +141,11 @@ super + shift + L
# Clipboard hotkeys
#
+# Open youtube video in mpv
+grave ; Y
+ sleep 0.2 && xdotool key y && mpv "$(xclip -o)"
+
+
grave ; p ; {1-9}
~/.ratpoison/clipboard paste {1-9}
diff --git a/xinitrc b/xinitrc
index 7565456..9de33db 100755
--- a/xinitrc
+++ b/xinitrc
@@ -33,6 +33,9 @@ wmname LG3D
# Background
~/.ratpoison/wp change &
+# Init clipboard
+~/.ratpoison/clipboard init
+
#Run dropbox
dropboxd &