replace strings of replacechars with replacestrings
This commit is contained in:
		
							parent
							
								
									b22c705da6
								
							
						
					
					
						commit
						1e9a7f032b
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -71,7 +71,7 @@ in { | |||
|       xsession.windowManager.i3.config.fonts = [cfg.font.name]; | ||||
| 
 | ||||
|       programs.neovim.extraConfig = '' | ||||
|         set guifont=${lib.replaceChars [" "] ["\\ "] cfg.font.name}:h${toString (cfg.font.size + 0.5)} | ||||
|         set guifont=${lib.replaceStrings [" "] ["\\ "] cfg.font.name}:h${toString (cfg.font.size + 0.5)} | ||||
|       ''; | ||||
|     }) | ||||
|     (mkIf (cfg.enable && cfg.plasma) { | ||||
|  |  | |||
|  | @ -7,7 +7,7 @@ | |||
| with lib; let | ||||
|   cfg = config.services.ezwg; | ||||
| 
 | ||||
|   peerNameReplacement = lib.replaceChars ["/" "-" " " "+" "="] [ | ||||
|   peerNameReplacement = lib.replaceStrings ["/" "-" " " "+" "="] [ | ||||
|     "-" | ||||
|     "\\x2d" | ||||
|     "\\x20" | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue