Add screenshot key
This commit is contained in:
parent
ec08bfe121
commit
3ae20fda42
7
rc.lua
7
rc.lua
@ -123,6 +123,8 @@ kbdlayout.switch = function()
|
||||
os.execute( kbdlayout.cmd .. " " .. t )
|
||||
end
|
||||
|
||||
screenshotCmd = "flameshot gui"
|
||||
|
||||
-- {{{ Wibar
|
||||
-- Create a textclock widget
|
||||
mytextclock = wibox.widget.textclock()
|
||||
@ -351,7 +353,10 @@ globalkeys = gears.table.join(
|
||||
awful.key({ "Mod1" }, "Shift_L", function () kbdlayout.switch() end,
|
||||
{description = "switch keyboard layout"}),
|
||||
awful.key({ "Shift" }, "Alt_L", function () kbdlayout.switch() end,
|
||||
{description = "switch keyboard layout"})
|
||||
{description = "switch keyboard layout"}),
|
||||
-- Flameshot
|
||||
awful.key({}, "Print", function () os.execute( screenshotCmd ) end,
|
||||
{description = "screenshot using the specified command"})
|
||||
)
|
||||
|
||||
clientkeys = gears.table.join(
|
||||
|
Loading…
Reference in New Issue
Block a user