home: set qutebrowser as default in xdg
This commit is contained in:
		
							parent
							
								
									040d840620
								
							
						
					
					
						commit
						96dbf3682a
					
				| @ -16,14 +16,20 @@ with lib; { | |||||||
|   xdg.mimeApps = { |   xdg.mimeApps = { | ||||||
|     enable = true; |     enable = true; | ||||||
|     defaultApplications = { |     defaultApplications = { | ||||||
|       "application/pdf" = ["sioyek.desktop"]; |       "application/pdf" = "sioyek.desktop"; | ||||||
|  |       "text/html" = "org.qutebrowser.qutebrowser.desktop"; | ||||||
|  |       "x-scheme-handler/about" = "org.qutebrowser.qutebrowser.desktop"; | ||||||
|  |       "x-scheme-handler/http" = "org.qutebrowser.qutebrowser.desktop"; | ||||||
|  |       "x-scheme-handler/https" = "org.qutebrowser.qutebrowser.desktop"; | ||||||
|  |       "x-scheme-handler/unknown" = "org.qutebrowser.qutebrowser.desktop"; | ||||||
|     }; |     }; | ||||||
|   }; |   }; | ||||||
| 
 | 
 | ||||||
|   fonts.fontconfig.enable = true; |   fonts.fontconfig.enable = true; | ||||||
| 
 | 
 | ||||||
|   home.sessionVariables = { |   home.sessionVariables = rec { | ||||||
|     BROWSER = "qutebrowser"; |     BROWSER = "${pkgs.qutebrowser}/bin/qutebrowser"; | ||||||
|  |     DEFAULT_BROWSER = "${BROWSER}"; | ||||||
|     EDITOR = "nvim"; |     EDITOR = "nvim"; | ||||||
|     _JAVA_AWT_WM_NONREPARENTING = "1"; |     _JAVA_AWT_WM_NONREPARENTING = "1"; | ||||||
|     MOZ_ENABLE_WAYLAND = "1"; |     MOZ_ENABLE_WAYLAND = "1"; | ||||||
| @ -126,7 +132,7 @@ with lib; { | |||||||
| 
 | 
 | ||||||
|     qutebrowser = { |     qutebrowser = { | ||||||
|       enable = true; |       enable = true; | ||||||
|       package = pkgs.qutebrowser.override { enableVulkan = false; }; |       package = pkgs.qutebrowser.override {enableVulkan = false;}; | ||||||
|       keyBindings = { |       keyBindings = { | ||||||
|         normal = { |         normal = { | ||||||
|           "j" = "scroll-px 0 25"; |           "j" = "scroll-px 0 25"; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user