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 battery_widget = require("awesome-wm-widgets.battery-widget.battery")
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 music = require("music")
@ -270,10 +270,10 @@ awful.screen.connect_for_each_screen(function(s)
s.mytasklist, -- Middle widget
{ -- Right widgets
layout = wibox.layout.fixed.horizontal,
delimiter,
email_widget.icon,
delimiter2,
email_widget.widget,
-- delimiter,
-- email_widget.icon,
-- delimiter2,
-- email_widget.widget,
delimiter,
ram_widget,
delimiter2,
@ -573,6 +573,10 @@ globalkeys = awful.util.table.join(
end)
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.spawn.easy_async("emojinput", function() end)
end, {description="Starts emojinput", group="shortcuts"})