fix: record by accident

This commit is contained in:
Klesh Wong 2022-09-03 17:03:33 +08:00
parent 98252e8d9d
commit caba90be57
2 changed files with 3 additions and 2 deletions

1
bin/sc
View File

@ -60,6 +60,7 @@ audio() {
}
theend() {
notify-send "recording ended"
_stop_recording
}

View File

@ -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" }),