From f8413fd424be064ffaa2fb21264ff18edc42afc3 Mon Sep 17 00:00:00 2001 From: Brian Picciano Date: Sat, 22 Jun 2024 18:31:31 +0200 Subject: Switch to gruvbox and add ability to use light and dark mode --- awesome/rc.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'awesome') diff --git a/awesome/rc.lua b/awesome/rc.lua index 5cb6c7f..e3a3cba 100644 --- a/awesome/rc.lua +++ b/awesome/rc.lua @@ -84,7 +84,6 @@ beautiful.init(theme) terminal = "alacritty" editor = os.getenv("EDITOR") or "nano" -editor_cmd = terminal .. " -e " .. editor -- Default modkey. -- Usually, Mod4 is the key with a logo between Control and Alt. @@ -325,6 +324,10 @@ globalkeys = awful.util.table.join( awful.spawn(terminal) end), + awful.key({ modkey, "Shift" }, "Return", function () + awful.spawn("alacritty-light") + end), + --PrintScreen awful.key({}, "Print", false, function () awful.spawn(bin_dir.."scrot.sh",false) end), awful.key({ "Control" }, "Print", function () -- cgit v1.2.3