making greasemonkey scripts part of the home.nix

This commit is contained in:
Chris Cochrun 2025-03-05 09:57:50 -06:00
parent 7d87236b32
commit 4991e75378
6 changed files with 46 additions and 2 deletions

View file

@ -1 +0,0 @@
/home/chris/.local/share/qutebrowser/greasemonkey

View file

@ -0,0 +1,22 @@
// ==UserScript==
// @name Dark Reader (Unofficial)
// @icon https://darkreader.org/images/darkreader-icon-256x256.png
// @namespace DarkReader
// @description Inverts the brightness of pages to reduce eye strain
// @version 4.7.15
// @author https://github.com/darkreader/darkreader#contributors
// @homepageURL https://darkreader.org/ | https://github.com/darkreader/darkreader
// @run-at document-end
// @grant none
// @include http*
// @require https://cdn.jsdelivr.net/npm/darkreader/darkreader.min.js
// @noframes
// ==/UserScript==
darkSchemeBackgroundColor: "#282a36",
darkSchemeTextColor: "#e2e4e5",
DarkReader.enable({
brightness: 80,
contrast: 60,
sepia: 0
});

File diff suppressed because one or more lines are too long

View file

@ -1 +0,0 @@
/home/chris/.local/share/qutebrowser/userscripts