From caba90be57d627dfea193e794644e795aeef2105 Mon Sep 17 00:00:00 2001 From: Klesh Wong Date: Sat, 3 Sep 2022 17:03:33 +0800 Subject: [PATCH] fix: record by accident --- bin/sc | 1 + gui/awesome/rc.lua | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/sc b/bin/sc index 37c95d4..56f4835 100755 --- a/bin/sc +++ b/bin/sc @@ -60,6 +60,7 @@ audio() { } theend() { + notify-send "recording ended" _stop_recording } diff --git a/gui/awesome/rc.lua b/gui/awesome/rc.lua index 2ede1bc..e186738 100644 --- a/gui/awesome/rc.lua +++ b/gui/awesome/rc.lua @@ -555,10 +555,10 @@ local globalkeys = gears.table.join( { description = "bookmark", group = "launcher" }), -- Recording - awful.key({ modkey }, "w", + awful.key({ modkey }, "F1", function() awful.spawn.with_shell('sc window 25') end, { description = "record window", group = "launcher" }), - awful.key({ modkey }, "e", + awful.key({ modkey }, "F2", function() awful.spawn.with_shell('sc theend') end, { description = "end recording", group = "launcher" }),