Make kitty default terminal in nemo and add VimInKitty desktop entry as default text editor.
This commit is contained in:
		
							parent
							
								
									4ef5eb923f
								
							
						
					
					
						commit
						a19b6b068f
					
				
					 1 changed files with 27 additions and 0 deletions
				
			
		|  | @ -33,4 +33,31 @@ | ||||||
|     # Fix KiTTY SSH Misbehavior |     # Fix KiTTY SSH Misbehavior | ||||||
|     [[ "$TERM" == "xterm-kitty" ]] && alias ssh="TERM=xterm-256color ssh" |     [[ "$TERM" == "xterm-kitty" ]] && alias ssh="TERM=xterm-256color ssh" | ||||||
|   ''; |   ''; | ||||||
|  | 
 | ||||||
|  |   dconf = { | ||||||
|  |     settings = { | ||||||
|  |         "org/cinnamon/desktop/applications/terminal" = { | ||||||
|  |             exec = "kitty"; | ||||||
|  |             exec-arg = ""; | ||||||
|  |         }; | ||||||
|  |     }; | ||||||
|  |   }; | ||||||
|  | 
 | ||||||
|  |   xdg = { | ||||||
|  |     enable = true; | ||||||
|  |     desktopEntries = { | ||||||
|  |       VimInKitty = { | ||||||
|  |         name = "Vim in Kitty"; | ||||||
|  |         exec = "kitty vim %U"; | ||||||
|  |         terminal = false; | ||||||
|  |         mimeType = [ "text/plain" ]; | ||||||
|  |       }; | ||||||
|  |     }; | ||||||
|  |     mimeApps = { | ||||||
|  |       enable = true; | ||||||
|  |       defaultApplications = { | ||||||
|  |         "text/plain" = [ "VimInKitty.desktop" ]; | ||||||
|  |       }; | ||||||
|  |     }; | ||||||
|  |   }; | ||||||
| } | } | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue