From 4620c2a3f8fc5d009641da6ffe983ba218037901 Mon Sep 17 00:00:00 2001 From: Thomas Forgione Date: Fri, 6 May 2022 14:06:35 +0200 Subject: [PATCH] Remove some delimieters --- rc.lua | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/rc.lua b/rc.lua index 72f8572..1121a4b 100644 --- a/rc.lua +++ b/rc.lua @@ -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"})