aboutsummaryrefslogtreecommitdiff
path: root/modules/pentadactyl
diff options
context:
space:
mode:
Diffstat (limited to 'modules/pentadactyl')
-rw-r--r--modules/pentadactyl/pentadactylrc.dot.link4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/pentadactyl/pentadactylrc.dot.link b/modules/pentadactyl/pentadactylrc.dot.link
index 2566d93..fbdf771 100644
--- a/modules/pentadactyl/pentadactylrc.dot.link
+++ b/modules/pentadactyl/pentadactylrc.dot.link
@@ -17,4 +17,8 @@ set go+=n
" Avoid theme overwriting during syncs
"set! general.skins.selectedSkin=rein
+" Copy page title
+" Thanks to https://github.com/laurentb/public-dotfiles/blob/master/desktop/.pentadactyl/main.penta
+command yt :yank :echo document.title.replace(/ - Pentadactyl$/, '');
+
" vim: set ft=pentadactyl: