you can use Tyrannical as an alternative.
This module for Awesome WM provides a simple way to manage windows rules.
First you need to download this module:
git clone https://github.com/mindeunix/clientdb.git ~/.config/awesome/clientdb
Next step is adding require at the top of your rc.lua:
local clientdb = require("clientdb")
Then you can add keybinding modkey + s:
clientkeys = awful.util.table.join(
awful.key({ modkey, }, "s", function (c) clientdb.save(c) end), -- ADD THIS LINE HERE
awful.key({ modkey, }, "f", function (c) c.fullscreen = not c.fullscreen end),
awful.key({ modkey, "Shift" }, "c", function (c) c:kill() end),
The last thing you need to do is add function clientdb.load():
-- Set Firefox to always map on tags number 2 of screen 1.
-- { rule = { class = "Firefox" },
-- properties = { tag = tags[1][2] } },
}
-- }}}
-- Initializes the windows rules system
clientdb.load() -- ADD THIS LINE HERE
Now, tell Awesome WM to reload your configuration and start saving windows rules modkey + s If you still need to modify these rules you can use SQLiteStudio or any other SQLite3 client.
Name | Description | Arguments |
---|---|---|
save | Save the client. | The client object |
load | Load windows rules from the database. | -- |