mirror of
https://github.com/elenapan/dotfiles.git
synced 2025-12-26 23:34:57 +08:00
Fix screenshot binds
Forgot to change them from helpers.screenshot to apps.screenshot
This commit is contained in:
parent
41281d368b
commit
b60c1ccda6
2 changed files with 5 additions and 4 deletions
|
|
@ -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)
|
||||
))
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue