summaryrefslogtreecommitdiff
path: root/awesome
diff options
context:
space:
mode:
authorBrian Picciano <me@mediocregopher.com>2024-06-22 18:31:31 +0200
committerBrian Picciano <me@mediocregopher.com>2024-06-22 18:31:31 +0200
commitf8413fd424be064ffaa2fb21264ff18edc42afc3 (patch)
tree1935d44cf92d5335459418af572df8773e9d6f4a /awesome
parent698b92d7fb26680ebb0328c5c6c985071ff79a0a (diff)
Switch to gruvbox and add ability to use light and dark mode
Diffstat (limited to 'awesome')
-rw-r--r--awesome/rc.lua5
1 files changed, 4 insertions, 1 deletions
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 ()