feat: screenshot keys
This commit is contained in:
parent
1d12ec064d
commit
f71125b87d
@ -57,7 +57,7 @@ editor = os.getenv("EDITOR") or "nvim"
|
|||||||
editor_cmd = terminal .. " -e " .. editor
|
editor_cmd = terminal .. " -e " .. editor
|
||||||
|
|
||||||
browser = "firefox"
|
browser = "firefox"
|
||||||
files = "thunar"
|
files = "pcmanfm"
|
||||||
|
|
||||||
lock = "i3lock -ftni" .. gears.filesystem.get_configuration_dir() .. "wallpapers/debian11.png"
|
lock = "i3lock -ftni" .. gears.filesystem.get_configuration_dir() .. "wallpapers/debian11.png"
|
||||||
|
|
||||||
@ -375,7 +375,24 @@ globalkeys = gears.table.join(
|
|||||||
awful.spawn("set-light -10")
|
awful.spawn("set-light -10")
|
||||||
end,
|
end,
|
||||||
{description = "lower brightness", group = "shortcut"}
|
{description = "lower brightness", group = "shortcut"}
|
||||||
|
),
|
||||||
|
awful.key(
|
||||||
|
{},
|
||||||
|
"Print",
|
||||||
|
function()
|
||||||
|
awful.spawn("flameshot full -c")
|
||||||
|
end,
|
||||||
|
{description = "take a screenshot", group = "shortcut"}
|
||||||
|
),
|
||||||
|
awful.key(
|
||||||
|
{"Shift"},
|
||||||
|
"Print",
|
||||||
|
function()
|
||||||
|
awful.spawn("flameshot gui")
|
||||||
|
end,
|
||||||
|
{description = "take a rectangular screenshot", group = "shortcut"}
|
||||||
)
|
)
|
||||||
|
|
||||||
)
|
)
|
||||||
|
|
||||||
clientkeys =
|
clientkeys =
|
||||||
@ -646,7 +663,6 @@ apps = {
|
|||||||
"nm-applet",
|
"nm-applet",
|
||||||
"killall cbatticon",
|
"killall cbatticon",
|
||||||
"cbatticon BAT0 -i symbolic",
|
"cbatticon BAT0 -i symbolic",
|
||||||
"numlockx",
|
|
||||||
"flameshot",
|
"flameshot",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user