From 02624d8bde783406127bb5265d2cdd9d38165a6f Mon Sep 17 00:00:00 2001 From: Kyren223 Date: Thu, 21 Nov 2024 13:05:11 +0200 Subject: Tied up notification thing --- hosts/laptop-nixos/configuration.nix | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'hosts/laptop-nixos/configuration.nix') diff --git a/hosts/laptop-nixos/configuration.nix b/hosts/laptop-nixos/configuration.nix index 949f643..ee63813 100644 --- a/hosts/laptop-nixos/configuration.nix +++ b/hosts/laptop-nixos/configuration.nix @@ -120,12 +120,7 @@ }; systemd.services."battery-notifier" = { - script = '' - set -eu - export DISPLAY=:0.0 - touch $HOME/Desktop/EEEEEEE - $HOME/scripts/battery_notifier.sh - ''; + script = "$HOME/scripts/battery_notifier.sh"; serviceConfig = { Type = "oneshot"; User = "kyren"; -- cgit v1.3.1