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 +------ hosts/laptop-nixos/home.nix | 1 - 2 files changed, 1 insertion(+), 7 deletions(-) (limited to 'hosts') 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"; diff --git a/hosts/laptop-nixos/home.nix b/hosts/laptop-nixos/home.nix index 1c55204..b599392 100644 --- a/hosts/laptop-nixos/home.nix +++ b/hosts/laptop-nixos/home.nix @@ -48,7 +48,6 @@ python3Full watchexec golangci-lint - kdePackages.kdialog libnotify wl-clipboard ]; -- cgit v1.3.1