about summary refs log tree commit diff
path: root/machines/profpatsch/shiki.nix
diff options
context:
space:
mode:
Diffstat (limited to 'machines/profpatsch/shiki.nix')
-rw-r--r--machines/profpatsch/shiki.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/machines/profpatsch/shiki.nix b/machines/profpatsch/shiki.nix
index 77a97303..6bc08b6a 100644
--- a/machines/profpatsch/shiki.nix
+++ b/machines/profpatsch/shiki.nix
@@ -209,8 +209,14 @@ in {
         youtube-dl           # download videos
         zathura              # pdf viewer
       ];
-      userScripts = with pkgs.vuizvui.profpatsch; [
+      userScripts = with pkgs.vuizvui.profpatsch;
+        let
+          di-notify = pkgs.writers.writeBashBin "display-infos-notify" ''
+            ${pkgs.libnotify}/bin/notify-send "$(${display-infos}/bin/display-infos)"
+          '';
+        in [
         display-infos  # show time & battery
+        di-notify      # same, but pipe to libnotify
         show-qr-code   # display a QR code
         backlight      # adjust laptop backlight
       ];