From 7fe0813fb54b7747d14cb459d141f09c0aa9966a Mon Sep 17 00:00:00 2001
From: Joe <rrbo@proton.me>
Date: Fri, 4 Nov 2022 11:28:48 +0100
Subject: up

---
 .config/alacritty/alacritty.yml      | 18 ++++++++++++++----
 .config/pipe-viewer/pipe-viewer.conf |  6 +++++-
 2 files changed, 19 insertions(+), 5 deletions(-)

diff --git a/.config/alacritty/alacritty.yml b/.config/alacritty/alacritty.yml
index d006fcc..5049618 100644
--- a/.config/alacritty/alacritty.yml
+++ b/.config/alacritty/alacritty.yml
@@ -343,6 +343,16 @@ live_config_reload: false
 # Send ESC (\x1b) before characters when alt is pressed.
 #alt_send_esc: true
 
+hints:
+  # enabled:
+  enabled:
+   - regex: "(ipfs:|ipns:|magnet:|mailto:|gemini:|gopher:|https:|http:..|news:|file:|git:|ssh:|ftp:)[^\u0000-\u001F\u007F-\u009F<>\"\\s{-}\\^⟨⟩`]+"
+     command: linkview
+     post_processing: true
+     binding:
+       key: U
+       mods: Control|Shift
+
 mouse:
   # Click settings
   #
@@ -355,7 +365,7 @@ mouse:
   # If this is `true`, the cursor is temporarily hidden when typing.
   hide_when_typing: true
 
-  urls:
+    #      urls:
     # URL launcher
     #
     # This program is executed when clicking on a text which is recognized as a URL.
@@ -367,9 +377,9 @@ mouse:
     #   - (macOS) open
     #   - (Linux/BSD) xdg-open
     #   - (Windows) explorer
-    launcher:
-      program: linkview
-    #  args: []
+    # launcher:
+    #  program: linkview
+      # args: []
 
     # URL modifiers
     #
diff --git a/.config/pipe-viewer/pipe-viewer.conf b/.config/pipe-viewer/pipe-viewer.conf
index 0dbbc85..9f5d4d1 100644
--- a/.config/pipe-viewer/pipe-viewer.conf
+++ b/.config/pipe-viewer/pipe-viewer.conf
@@ -1,6 +1,8 @@
 #!/usr/bin/perl
 
-# CLI Pipe Viewer 0.3.1 - configuration file
+# CLI Pipe Viewer 0.4.1 - configuration file
+
+use utf8;
 
 our $CONFIG = {
   api_host                      => "auto",
@@ -117,6 +119,8 @@ our $CONFIG = {
   watch_history                 => 0,
   watch_history_file            => "$ENV{HOME}/.config/pipe-viewer/watched.txt",
   wget_cmd                      => "wget",
+  youtube_channel_url           => "https://www.youtube.com/channel/%s",
+  youtube_playlist_url          => "https://www.youtube.com/playlist?list=%s",
   youtube_video_url             => "https://www.youtube.com/watch?v=%s",
   ytdl                          => 1,
   ytdl_cmd                      => "/usr/local/bin/yt-dlp",
-- 
cgit v1.2.3