summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ar/.config/lf/lfrc2
-rw-r--r--ar/.config/mimeapps.list4
-rw-r--r--ar/.config/newsboat/config1
-rw-r--r--ar/.config/newsboat/urls1
-rw-r--r--global/.local/share/applications/html.desktop2
-rw-r--r--global/.local/share/applications/slide.desktop1
6 files changed, 8 insertions, 3 deletions
diff --git a/ar/.config/lf/lfrc b/ar/.config/lf/lfrc
index 47522e0..0ea7f13 100644
--- a/ar/.config/lf/lfrc
+++ b/ar/.config/lf/lfrc
@@ -294,7 +294,7 @@ cmd open ${{
done &
;;
text/csv|application/vnd.openxmlformats-officedocument.spreadsheetml.sheet) sc-im $fx;;
- text/html|text/xml) w3m $fx;;
+ text/html|text/xml) lynx $fx;;
text/troff) groff -mom $fx -Tpdf | zathura - ;;
text/*|application/json|inode/x-empty|application/x-subrip) $EDITOR $fx;;
video/*) setsid -f mpv --x11-name=video -quiet $f >/dev/null 2>&1 ;;
diff --git a/ar/.config/mimeapps.list b/ar/.config/mimeapps.list
index 25c942f..2792367 100644
--- a/ar/.config/mimeapps.list
+++ b/ar/.config/mimeapps.list
@@ -2,6 +2,8 @@
# xdg-open will use these settings to determine how to open filetypes.
# These .desktop entries can also be seen and changed in ~/.local/share/applications/
+# To add options for mimeopen, add MimeType in .desktop
+# eg. MimeType=text/markdown;text/x-markdown;
application/json=librewolf.desktop;firefox.desktop;
application/pdf=pdf.desktop;
@@ -20,7 +22,7 @@ image/png=img.desktop;
image/webp=nsxiv.desktop;
text/csv=csv.desktop;
text/html=html.desktop;
-text/markdown=slide.desktop;
+text/markdown=slides.desktop;
text/plain=text.desktop;
text/troff=roff.desktop;
text/x-shellscript=text.desktop;
diff --git a/ar/.config/newsboat/config b/ar/.config/newsboat/config
index bef56d1..ef6c803 100644
--- a/ar/.config/newsboat/config
+++ b/ar/.config/newsboat/config
@@ -2,6 +2,7 @@
auto-reload yes
browser linkhandler
external-url-viewer "urlscan -dc -r 'linkhandler {}'"
+text-width 80
# Keys
bind-key j down
diff --git a/ar/.config/newsboat/urls b/ar/.config/newsboat/urls
index fb7dce5..af8d2d1 100644
--- a/ar/.config/newsboat/urls
+++ b/ar/.config/newsboat/urls
@@ -25,6 +25,7 @@ https://lukesmith.xyz/rss.xml "~Luke Smi
https://github.com/LukeSmithxyz/voidrice/commits/master.atom "~Luke Smith dotfiles" Git
https://github.com/LukeSmithxyz/mutt-wizard/commits/master.atom "~Luke Smith mutt-wizard" Git
https://github.com/LukeSmithxyz/emailwiz/commits/master.atom "~Luke Smith email-wizard" Git
+https://github.com/LukeSmithxyz/landchad/commits.atom "~Luke Smith landchad" Git
https://github.com/BreadOnPenguins/dots/commits.atom "~Bread on Penguins dotfiles" Git
https://github.com/Piotr1215/dotfiles/commits/master.atom "~Piotr1215 dotfiles" Git
https://github.com/linkarzu/dotfiles-latest/commits/main.atom "~Linkarzu dotfiles" Git
diff --git a/global/.local/share/applications/html.desktop b/global/.local/share/applications/html.desktop
index 3f08de6..c009841 100644
--- a/global/.local/share/applications/html.desktop
+++ b/global/.local/share/applications/html.desktop
@@ -1,4 +1,4 @@
[Desktop Entry]
Type=Application
Name=Html Viewer
-Exec=/usr/bin/w3m %u
+Exec=/usr/bin/lynx %u
diff --git a/global/.local/share/applications/slide.desktop b/global/.local/share/applications/slide.desktop
index 31f2ab3..32675bf 100644
--- a/global/.local/share/applications/slide.desktop
+++ b/global/.local/share/applications/slide.desktop
@@ -1,4 +1,5 @@
[Desktop Entry]
Type=Application
Name=Slides Viewer
+MimeType=text/markdown;text/x-markdown;
Exec=/usr/local/bin/st -e slides %f