aboutsummaryrefslogtreecommitdiff
path: root/dot_config/newsraft
diff options
context:
space:
mode:
Diffstat (limited to 'dot_config/newsraft')
-rw-r--r--dot_config/newsraft/config.tmpl (renamed from dot_config/newsraft/config)4
1 files changed, 4 insertions, 0 deletions
diff --git a/dot_config/newsraft/config b/dot_config/newsraft/config.tmpl
index 8b95559..17da714 100644
--- a/dot_config/newsraft/config
+++ b/dot_config/newsraft/config.tmpl
@@ -1,4 +1,8 @@
+{{- if eq .wm "x11" -}}
copy-to-clipboard-command "xsel -ib"
+{{- else }}
+copy-to-clipboard-command "wl-copy"
+{{- end }}
bind a mark-read
bind u mark-unread