about summary refs log tree commit diff
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2020-03-31 19:48:49 -0400
committerworldofpeace <worldofpeace@protonmail.ch>2020-04-06 02:48:07 -0400
commit7281bc7617b57ce0caa37a95ab2d58ca00c8bc23 (patch)
treec527e585a0156416fa8c40d8ba4746fc75496962
parent53bea3717f1f1fd7ab49cc2e4b7913b6c9e85989 (diff)
downloadnixlib-7281bc7617b57ce0caa37a95ab2d58ca00c8bc23.tar
nixlib-7281bc7617b57ce0caa37a95ab2d58ca00c8bc23.tar.gz
nixlib-7281bc7617b57ce0caa37a95ab2d58ca00c8bc23.tar.bz2
nixlib-7281bc7617b57ce0caa37a95ab2d58ca00c8bc23.tar.lz
nixlib-7281bc7617b57ce0caa37a95ab2d58ca00c8bc23.tar.xz
nixlib-7281bc7617b57ce0caa37a95ab2d58ca00c8bc23.tar.zst
nixlib-7281bc7617b57ce0caa37a95ab2d58ca00c8bc23.zip
pantheon.gala: use-new-notifications default true
-rw-r--r--pkgs/desktops/pantheon/desktop/gala/default.nix1
-rw-r--r--pkgs/desktops/pantheon/desktop/gala/use-new-notifications-default.patch13
2 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/desktops/pantheon/desktop/gala/default.nix b/pkgs/desktops/pantheon/desktop/gala/default.nix
index 643e66aef92f..cbe870af8e47 100644
--- a/pkgs/desktops/pantheon/desktop/gala/default.nix
+++ b/pkgs/desktops/pantheon/desktop/gala/default.nix
@@ -70,6 +70,7 @@ stdenv.mkDerivation rec {
 
   patches = [
     ./plugins-dir.patch
+    ./use-new-notifications-default.patch
   ];
 
   postPatch = ''
diff --git a/pkgs/desktops/pantheon/desktop/gala/use-new-notifications-default.patch b/pkgs/desktops/pantheon/desktop/gala/use-new-notifications-default.patch
new file mode 100644
index 000000000000..dc256bcff3aa
--- /dev/null
+++ b/pkgs/desktops/pantheon/desktop/gala/use-new-notifications-default.patch
@@ -0,0 +1,13 @@
+diff --git a/data/gala.gschema.xml b/data/gala.gschema.xml
+index 8032583..7f4f03c 100644
+--- a/data/gala.gschema.xml
++++ b/data/gala.gschema.xml
+@@ -58,7 +58,7 @@
+ 			<description>If enabled, dropping windows on vertical screen edges maximizes them vertically and resizes them horizontally to cover half of the available area. Dropping windows on the top screen edge maximizes them completely.</description>
+ 		</key>
+ 		<key type="b" name="use-new-notifications">
+-			<default>false</default>
++			<default>true</default>
+ 			<summary>If new notifications should be used</summary>
+ 			<description>If new notifications UI should be used, requires io.elemenetary.notifications to be present and running</description>
+ 		</key>