From 0ff69c458aece56a99c7979975bbeef5de28dd13 Mon Sep 17 00:00:00 2001 From: Charles Cabergs Date: Sun, 28 Feb 2021 15:21:38 +0100 Subject: Changed qutebrowser user-agent to windows, Fixing some xdg-open stuff --- config/qutebrowser/config.py | 1 + local/share/applications/mpv.desktop | 4 ++++ local/share/applications/sxiv.desktop | 2 +- 3 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 local/share/applications/mpv.desktop diff --git a/config/qutebrowser/config.py b/config/qutebrowser/config.py index 55da493..44c724d 100644 --- a/config/qutebrowser/config.py +++ b/config/qutebrowser/config.py @@ -71,6 +71,7 @@ c.content.autoplay = False c.content.notifications = False # c.content.cookies.accept = 'no-3rdparty' +c.content.headers.user_agent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/{webkit_version} (KHTML, like Gecko) {qt_key}/{qt_version}" c.auto_save.session = True c.session.lazy_restore = True diff --git a/local/share/applications/mpv.desktop b/local/share/applications/mpv.desktop new file mode 100644 index 0000000..a0391d0 --- /dev/null +++ b/local/share/applications/mpv.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Type=Application +Name=Video player +Exec=/usr/bin/mpv %u diff --git a/local/share/applications/sxiv.desktop b/local/share/applications/sxiv.desktop index 0db2053..e52a641 100644 --- a/local/share/applications/sxiv.desktop +++ b/local/share/applications/sxiv.desktop @@ -1,4 +1,4 @@ [Desktop Entry] Type=Application Name=Image viewer -Exec=/usr/local/bin/sxiv %u +Exec=/usr/bin/sxiv %u -- cgit