1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 11:39:46 +01:00

gtk: add final newline to bookmarks to avoid conflicts

This commit is contained in:
Naïm Favier 2021-09-30 18:19:44 +02:00 committed by Robert Helgesson
parent 0f3dfc94ef
commit f15cd0f087
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
2 changed files with 2 additions and 3 deletions

View file

@ -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;

View file

@ -1,2 +1 @@
gtk-can-change-accels = 1 gtk-can-change-accels = 1