1
0
Fork 0
mirror of https://github.com/lcpz/awesome-copycats.git synced 2024-10-22 20:41:22 +00:00

Merge branch 'master' of github.com:lcpz/awesome-copycats

This commit is contained in:
Luca CPZ 2021-07-01 20:12:11 +01:00
commit d4eeb86bd3
2 changed files with 4 additions and 1 deletions

View file

@ -250,6 +250,9 @@ root.buttons(mytable.join(
-- {{{ Key bindings -- {{{ Key bindings
globalkeys = mytable.join( globalkeys = mytable.join(
-- Destroy all notifications
awful.key({ "Control", }, "space", function() naughty.destroy_all_notifications() end,
{description = "destroy all notifications", group = "hotkeys"}),
-- Take a screenshot -- Take a screenshot
-- https://github.com/lcpz/dots/blob/master/bin/screenshot -- https://github.com/lcpz/dots/blob/master/bin/screenshot
awful.key({ altkey }, "p", function() os.execute("screenshot") end, awful.key({ altkey }, "p", function() os.execute("screenshot") end,

View file

@ -137,7 +137,7 @@ theme.mail = lain.widget.imap({
local musicplr = awful.util.terminal .. " -title Music -g 130x34-320+16 -e ncmpcpp" local musicplr = awful.util.terminal .. " -title Music -g 130x34-320+16 -e ncmpcpp"
local mpdicon = wibox.widget.imagebox(theme.widget_music) local mpdicon = wibox.widget.imagebox(theme.widget_music)
mpdicon:buttons(my_table.join( mpdicon:buttons(my_table.join(
awful.button({ modkey }, 1, function () awful.spawn.with_shell(musicplr) end), awful.button({ "Mod4" }, 1, function () awful.spawn(musicplr) end),
awful.button({ }, 1, function () awful.button({ }, 1, function ()
os.execute("mpc prev") os.execute("mpc prev")
theme.mpd.update() theme.mpd.update()