commit ed54bd622e3b81480df5e389e371450602965c16
parent b1c75bd42cffccb820a1e9bf126e5e8a2a255cf0
Author: Vincent Demeester <vincent@sbr.pm>
Date: Fri, 2 Oct 2020 12:01:55 +0200
systems/hokkaido: add no-annoyance
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Diffstat:
5 files changed, 38 insertions(+), 3 deletions(-)
diff --git a/pkgs/default.nix b/pkgs/default.nix
@@ -119,4 +119,5 @@ rec {
gnome-shell-extension-shell = pkgs.callPackage ./gnome/extensions/shell { };
gnome-bluetooth-quick-connect = pkgs.callPackage ./gnome/extensions/bluetooth-quick-connect { };
hidetopbar = pkgs.callPackage ./gnome/extensions/hide-top-bar { };
+ noannoyance = pkgs.callPackage ./gnome/extensions/noannoyance { };
}
diff --git a/pkgs/gnome/extensions/noannoyance/default.nix b/pkgs/gnome/extensions/noannoyance/default.nix
@@ -0,0 +1,33 @@
+{ stdenv, fetchFromGitHub, glib, gettext, bash, nodePackages, gnome3 }:
+
+stdenv.mkDerivation rec {
+ pname = "noannoyance";
+ version = "2020-05-17";
+
+ src = fetchFromGitHub {
+ owner = "sindex";
+ repo = "no-annoyance";
+ rev = "9cc6aaf85cce8e434e58a9caa1b8abb077fdf2e3";
+ sha256 = "1p0y871616rvd3wfw12nn8ybc8z76fcb7gcd13zf1q53wnwk5ynr";
+ };
+
+ nativeBuildInputs = [
+ glib
+ gettext
+ nodePackages.typescript
+ ];
+
+ uuid = "noannoyance@sindex.com";
+
+ installPhase = ''
+ mkdir -p $out/share/gnome-shell/extensions/${uuid}
+ cp -r * $out/share/gnome-shell/extensions/${uuid}
+ '';
+
+ meta = with stdenv.lib; {
+ description = "Disables the “Window Is Ready” notification and changes the policy of the window manager so that new windows are always focused.";
+ license = licenses.gpl3;
+ maintainers = with maintainers; [ vdemeester ];
+ homepage = "https://github.com/sindex/no-annoyance";
+ };
+}
diff --git a/tasks.org b/tasks.org
@@ -47,8 +47,8 @@
- [-] pomodoro (fixing it ?)
- [X] [[https://github.com/bjarosze/gnome-bluetooth-quick-connect][bluetooth quick connect]]
- [-] [[https://framagit.org/abakkk/DrawOnYourScreen][draw on you screen]]
-- [ ] [[https://github.com/mlutfy/hidetopbar][hide top bar]]
-- [ ] [[https://github.com/sindex/no-annoyance][noannoyance]]
+- [X] [[https://github.com/mlutfy/hidetopbar][hide top bar]]
+- [X] [[https://github.com/sindex/no-annoyance][noannoyance]]
- [X] pop-os/shell
- [X] tilingnome
- [X] sound-output-device-chooser
diff --git a/users/vincent/desktop/dconf.nix b/users/vincent/desktop/dconf.nix
@@ -94,7 +94,7 @@ in
};
# Shell
"org/gnome/shell" = {
- enabled-extensions = [ "drive-menu@gnome-shell-extensions.gcampax.github.com" "sound-output-device-chooser@kgshank.net" "user-theme@gnome-shell-extensions.gcampax.github.com" "launch-new-instance@gnome-shell-extensions.gcampax.github.com" "bluetooth-quick-connect@bjarosze.gmail.com" "hidetopbar@mathieu.bidon.ca" ];
+ enabled-extensions = [ "drive-menu@gnome-shell-extensions.gcampax.github.com" "sound-output-device-chooser@kgshank.net" "user-theme@gnome-shell-extensions.gcampax.github.com" "launch-new-instance@gnome-shell-extensions.gcampax.github.com" "bluetooth-quick-connect@bjarosze.gmail.com" "hidetopbar@mathieu.bidon.ca" "noannoyance@sindex.com" ];
};
# Extensions
"org/gnome/shell/extensions/hidetopbar" = {
diff --git a/users/vincent/desktop/gnome.nix b/users/vincent/desktop/gnome.nix
@@ -31,6 +31,7 @@
my.gnome-shell-extension-shell
my.gnome-bluetooth-quick-connect
my.hidetopbar
+ my.noannoyance
gnome3.gnome-shell-extensions
pop-gtk-theme