making greasemonkey scripts part of the home.nix
This commit is contained in:
		
							parent
							
								
									7d87236b32
								
							
						
					
					
						commit
						4991e75378
					
				
					 6 changed files with 46 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1 +0,0 @@
 | 
			
		|||
/home/chris/.local/share/qutebrowser/greasemonkey
 | 
			
		||||
							
								
								
									
										22
									
								
								.config/qutebrowser/greasemonkey/darkreader.js
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										22
									
								
								.config/qutebrowser/greasemonkey/darkreader.js
									
										
									
									
									
										Normal 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
											
										
									
								
							| 
						 | 
				
			
			@ -1 +0,0 @@
 | 
			
		|||
/home/chris/.local/share/qutebrowser/userscripts
 | 
			
		||||
| 
						 | 
				
			
			@ -1289,6 +1289,10 @@ in {
 | 
			
		|||
    source = ../.config/qutebrowser/css;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  home.file.".local/share/qutebrowser/greasemonkey" = {
 | 
			
		||||
    source = ../.config/qutebrowser/greasemonkey;
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  home.file.".config/imv" = {
 | 
			
		||||
    source = ../.config/imv;
 | 
			
		||||
    recursive = true;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										12
									
								
								modules/blocky.nix
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								modules/blocky.nix
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,12 @@
 | 
			
		|||
{ pkgs, lib, config, ... }:
 | 
			
		||||
 | 
			
		||||
{
 | 
			
		||||
  services = {
 | 
			
		||||
    blocky = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      settings = {
 | 
			
		||||
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue