mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
gtk: add final newline to bookmarks to avoid conflicts
This commit is contained in:
parent
0f3dfc94ef
commit
f15cd0f087
2 changed files with 2 additions and 3 deletions
|
@ -167,7 +167,7 @@ in {
|
||||||
++ optionalPackage cfg.iconTheme;
|
++ optionalPackage cfg.iconTheme;
|
||||||
|
|
||||||
home.file.${cfg2.configLocation}.text =
|
home.file.${cfg2.configLocation}.text =
|
||||||
concatStringsSep "\n" (mapAttrsToList formatGtk2Option ini) + "\n"
|
concatMapStrings (l: l + "\n") (mapAttrsToList formatGtk2Option ini)
|
||||||
+ cfg2.extraConfig;
|
+ cfg2.extraConfig;
|
||||||
|
|
||||||
home.sessionVariables.GTK2_RC_FILES = cfg2.configLocation;
|
home.sessionVariables.GTK2_RC_FILES = cfg2.configLocation;
|
||||||
|
@ -178,7 +178,7 @@ in {
|
||||||
xdg.configFile."gtk-3.0/gtk.css".text = cfg3.extraCss;
|
xdg.configFile."gtk-3.0/gtk.css".text = cfg3.extraCss;
|
||||||
|
|
||||||
xdg.configFile."gtk-3.0/bookmarks" = mkIf (cfg3.bookmarks != [ ]) {
|
xdg.configFile."gtk-3.0/bookmarks" = mkIf (cfg3.bookmarks != [ ]) {
|
||||||
text = concatStringsSep "\n" cfg3.bookmarks;
|
text = concatMapStrings (l: l + "\n") cfg3.bookmarks;
|
||||||
};
|
};
|
||||||
|
|
||||||
dconf.settings."org/gnome/desktop/interface" = dconfIni;
|
dconf.settings."org/gnome/desktop/interface" = dconfIni;
|
||||||
|
|
|
@ -1,2 +1 @@
|
||||||
|
|
||||||
gtk-can-change-accels = 1
|
gtk-can-change-accels = 1
|
Loading…
Reference in a new issue