summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2022-09-10 21:17:49 +0200
committerstuebinm2022-09-10 21:17:49 +0200
commit63c8d977ee2736a350ebd26dc40d343904f82798 (patch)
treeb0769a6dcade4f50427c510321c8318211f2dc56
parent683eea2765d18099c425cf2425073fefdd4a10f8 (diff)
home/news: open mpv in new kitty tab
-rw-r--r--home/home.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/home/home.nix b/home/home.nix
index f0b23f7..e39bdce 100644
--- a/home/home.nix
+++ b/home/home.nix
@@ -71,6 +71,7 @@
extraConfig = ''
background_opacity 0.8
confirm_os_window_close 0
+ allow_remote_control yes
'';
};
@@ -153,7 +154,7 @@
ssl-verifypeer no
- macro v set browser "mpv %u >/dev/null 2>&1 &" ; open-in-browser ; set browser "${config.programs.newsboat.browser} %u"
+ macro v set browser "kitty @launch --type tab mpv %u > /dev/null" ; open-in-browser ; set browser "${config.programs.newsboat.browser} %u"
macro f set browser "${pkgs.xdg_utils}/bin/xdg-open %u >/dev/null 2>&1 &" ; open-in-browser ; set browser "${config.programs.newsboat.browser} %u"
bind-key j down