From 4d5e17c46f9c6ff0c0b99024458ce281b4747630 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Tue, 23 Jul 2024 18:00:00 +0100 Subject: [PATCH] awesome: add a keybind to run `notetaker` in a ...floating window --- config/awesome/rc.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/awesome/rc.lua b/config/awesome/rc.lua index a8aa9fb..77e2393 100644 --- a/config/awesome/rc.lua +++ b/config/awesome/rc.lua @@ -283,6 +283,10 @@ globalkeys = gears.table.join( awful.client.focus.byidx(1) end, { description = "focus next by index", group = "client" }), + awful.key({ modkey }, "n", function() + awful.util.spawn "alacritty --class notetaker_window --command notetaker" + end, { description = "open today's daily note", group = "client" }), + awful.key({ modkey }, "w", function() mymainmenu:show() end, { description = "show main menu", group = "awesome" }), @@ -590,6 +594,7 @@ awful.rules.rules = { "Sxiv", "Tor Browser", -- Needs a fixed window size to avoid fingerprinting by screen size. "Wpa_gui", + "notetaker_window", "veromix", "xtightvncviewer", "zoom",