❄ Personal NixOS Flake Manager
nixos home-manager go nix
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

feat(rui): only notify in window manager

Fuwn f8776615 f154fe51

+5 -1
+1 -1
flake.nix
··· 33 33 { 34 34 packages.default = pkgs.buildGoModule { 35 35 pname = "rui"; 36 - version = "2024.09.18"; 36 + version = "2024.09.19"; 37 37 src = pkgs.lib.cleanSource ./.; 38 38 vendorHash = "sha256-mN/QjzJ4eGfbW1H92cCKvC0wDhCR6IUes2HCZ5YBdPA="; 39 39
+4
rui.go
··· 241 241 } 242 242 243 243 func notify(message string) error { 244 + if os.Getenv("DISPLAY") == "" && os.Getenv("WAYLAND_DISPLAY") == "" { 245 + return nil 246 + } 247 + 244 248 notifySend, err := exec.LookPath("notify-send") 245 249 246 250 if err != nil {