From f435197f1321b5879deba07dd41cd56f91774720 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Sat, 14 Dec 2024 00:33:18 +0300 Subject: [PATCH] Swayscript: Fix reset sound. --- package/swayscript/script/DisplayWidget.nix | 2 +- package/swayscript/script/Reload.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/swayscript/script/DisplayWidget.nix b/package/swayscript/script/DisplayWidget.nix index ec2e7675..3965638e 100644 --- a/package/swayscript/script/DisplayWidget.nix +++ b/package/swayscript/script/DisplayWidget.nix @@ -63,7 +63,7 @@ # Reset the state of everything. function displayreset() { - _notify_long + notify_long [[ "''$(monitorstate)" = "Y" ]] && monitorreset [[ "''$(gamingstate)" = "Y" ]] && gamingreset [[ "''$(recordingstate)" = "Y" ]] && pkill wf-recorder diff --git a/package/swayscript/script/Reload.nix b/package/swayscript/script/Reload.nix index a2775962..deb45fb7 100644 --- a/package/swayscript/script/Reload.nix +++ b/package/swayscript/script/Reload.nix @@ -2,7 +2,7 @@ text = '' # Reload. function reload() { - # _notify_long + # notify_long re() { # Sway. swaymsg reload