fix dock autohide, fix titlebar beeing empty, added toggle floating(stays after reboot)

This commit is contained in:
Kievits Rene
2022-04-20 21:12:23 +02:00
parent b11fa86729
commit 21519a9460
8 changed files with 128 additions and 27 deletions

View File

@@ -5,6 +5,7 @@
-- Awesome Libs
local awful = require("awful")
local beautiful = require("beautiful")
local ruled = require("ruled")
awful.rules.rules = {
{
@@ -48,3 +49,17 @@ awful.rules.rules = {
properties = { titlebars_enabled = true }
}
}
awful.spawn.easy_async_with_shell(
"cat ~/.config/awesome/src/assets/rules.txt",
function(stdout)
for class in stdout:gmatch("%a+") do
ruled.client.append_rule {
rule = { class = class },
properties = {
floating = true
},
}
end
end
)