replace strings of replacechars with replacestrings
This commit is contained in:
parent
b22c705da6
commit
1e9a7f032b
@ -71,7 +71,7 @@ in {
|
|||||||
xsession.windowManager.i3.config.fonts = [cfg.font.name];
|
xsession.windowManager.i3.config.fonts = [cfg.font.name];
|
||||||
|
|
||||||
programs.neovim.extraConfig = ''
|
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) {
|
(mkIf (cfg.enable && cfg.plasma) {
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
with lib; let
|
with lib; let
|
||||||
cfg = config.services.ezwg;
|
cfg = config.services.ezwg;
|
||||||
|
|
||||||
peerNameReplacement = lib.replaceChars ["/" "-" " " "+" "="] [
|
peerNameReplacement = lib.replaceStrings ["/" "-" " " "+" "="] [
|
||||||
"-"
|
"-"
|
||||||
"\\x2d"
|
"\\x2d"
|
||||||
"\\x20"
|
"\\x20"
|
||||||
|
Loading…
Reference in New Issue
Block a user