From b60c1ccda699dbfdf18fc9f02bde317d442a0d21 Mon Sep 17 00:00:00 2001 From: elenapan Date: Tue, 21 Apr 2020 21:43:40 +0300 Subject: [PATCH] Fix screenshot binds Forgot to change them from helpers.screenshot to apps.screenshot --- config/awesome/elemental/dashboard/amarena.lua | 5 +++-- config/awesome/elemental/dashboard/skyfall.lua | 4 ++-- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/config/awesome/elemental/dashboard/amarena.lua b/config/awesome/elemental/dashboard/amarena.lua index 5ebfba7..08db238 100644 --- a/config/awesome/elemental/dashboard/amarena.lua +++ b/config/awesome/elemental/dashboard/amarena.lua @@ -5,6 +5,7 @@ local beautiful = require("beautiful") local naughty = require("naughty") local icons = require("icons") local helpers = require("helpers") +local apps = require("apps") local keygrabber = require("awful.keygrabber") @@ -589,12 +590,12 @@ local screenshot_box = create_boxed_widget(screenshot, dpi(150), dpi(78), x.back screenshot_box:buttons(gears.table.join( -- Left click - Take screenshot awful.button({ }, 1, function () - helpers.screenshot("full") + apps.screenshot("full") end), -- Right click - Take screenshot in 5 seconds awful.button({ }, 3, function () naughty.notify({title = "Say cheese!", text = "Taking shot in 5 seconds", timeout = 4, icon = icons.screenshot}) - helpers.screenshot("full", 5) + apps.screenshot("full", 5) end) )) diff --git a/config/awesome/elemental/dashboard/skyfall.lua b/config/awesome/elemental/dashboard/skyfall.lua index 6026f6d..da5552a 100644 --- a/config/awesome/elemental/dashboard/skyfall.lua +++ b/config/awesome/elemental/dashboard/skyfall.lua @@ -509,12 +509,12 @@ local screenshot_box = create_boxed_widget(screenshot, dpi(150), dpi(78), x.back screenshot_box:buttons(gears.table.join( -- Left click - Take screenshot awful.button({ }, 1, function () - helpers.screenshot("full") + apps.screenshot("full") end), -- Right click - Take screenshot in 5 seconds awful.button({ }, 3, function () naughty.notify({title = "Say cheese!", text = "Taking shot in 5 seconds", timeout = 4, icon = icons.screenshot}) - helpers.screenshot("full", 5) + apps.screenshot("full", 5) end) ))