Compare commits

...

2 Commits

1 changed files with 9 additions and 5 deletions

14
rc.lua
View File

@ -18,7 +18,7 @@ local volume_bar_widget = require("awesome-wm-widgets.volumebar-widget.volumebar
local cpu_widget = require("awesome-wm-widgets.cpu-widget.cpu-widget") local cpu_widget = require("awesome-wm-widgets.cpu-widget.cpu-widget")
local battery_widget = require("awesome-wm-widgets.battery-widget.battery") local battery_widget = require("awesome-wm-widgets.battery-widget.battery")
local ram_widget = require("awesome-wm-widgets.ram-widget.ram-widget") local ram_widget = require("awesome-wm-widgets.ram-widget.ram-widget")
local email_widget = require("awesome-wm-widgets.email-widget.email") -- local email_widget = require("awesome-wm-widgets.email-widget.email")
local calendar = require("calendar.calendar") local calendar = require("calendar.calendar")
local music = require("music") local music = require("music")
@ -270,10 +270,10 @@ awful.screen.connect_for_each_screen(function(s)
s.mytasklist, -- Middle widget s.mytasklist, -- Middle widget
{ -- Right widgets { -- Right widgets
layout = wibox.layout.fixed.horizontal, layout = wibox.layout.fixed.horizontal,
delimiter, -- delimiter,
email_widget.icon, -- email_widget.icon,
delimiter2, -- delimiter2,
email_widget.widget, -- email_widget.widget,
delimiter, delimiter,
ram_widget, ram_widget,
delimiter2, delimiter2,
@ -573,6 +573,10 @@ globalkeys = awful.util.table.join(
end) end)
end, {description="Automatically enters the key to type your email", group="shortcuts"}), end, {description="Automatically enters the key to type your email", group="shortcuts"}),
awful.key({modkey}, "q", function()
awful.spawn.easy_async("mailspring", function() end)
end, {description="Opens mailspring", group="shortcuts"}),
awful.key({modkey}, "e", function() awful.key({modkey}, "e", function()
awful.spawn.easy_async("emojinput", function() end) awful.spawn.easy_async("emojinput", function() end)
end, {description="Starts emojinput", group="shortcuts"}) end, {description="Starts emojinput", group="shortcuts"})