diff options
author | delta <darkussdelta@gmail.com> | 2023-05-21 10:12:46 +0200 |
---|---|---|
committer | delta <darkussdelta@gmail.com> | 2023-05-21 10:12:46 +0200 |
commit | f42a3a2cc941e34dd938b1e6bc24785a44781db2 (patch) | |
tree | bec91db370c7bcd5be2bb614d2d315a32c751215 /.config/awesome/signals | |
parent | f5612f081db0dc69f5c0ebc69e67fa3b098a9ad9 (diff) |
major update of awesome config
add new icons, switch over to using stylesheets instead of gears.color.recolor_image, add a music widget to the panel, optimize services in common.lua, fix the application lense filtering and increase the update rate of services in common.lua
Signed-off-by: delta <darkussdelta@gmail.com>
Diffstat (limited to '.config/awesome/signals')
-rw-r--r-- | .config/awesome/signals/screen.lua | 59 |
1 files changed, 7 insertions, 52 deletions
diff --git a/.config/awesome/signals/screen.lua b/.config/awesome/signals/screen.lua index ea247a3..706bf56 100644 --- a/.config/awesome/signals/screen.lua +++ b/.config/awesome/signals/screen.lua @@ -1,56 +1,11 @@ local awful = require "awful" +local cfg = require "misc.cfg" +local gtable = require "gears.table" screen.connect_signal("request::desktop_decoration", function(s) - awful.tag.add( - "1", - { - screen = s, - layout = awful.layout.suit.floating, - selected = true - } - ) - - awful.tag.add( - "2", - { - screen = s, - layout = awful.layout.suit.floating, - - } - ) - - awful.tag.add( - "3", - { - screen = s, - layout = awful.layout.suit.tile.left, - master_width_factor = 0.7 - } - ) - - awful.tag.add( - "4", - { - screen = s, - layout = awful.layout.suit.tile.top, - master_width_factor = 0.2 - } - ) - - awful.tag.add( - "5", - { - screen = s, - layout = awful.layout.suit.tile.right, - master_width_factor = 0.7 - } - ) - - awful.tag.add( - "6", - { - screen = s, - layout = awful.layout.suit.floating, - } - ) + for i, tag in ipairs(cfg.tags) do + awful.tag.add(tostring(i), gtable.crush({ + screen = s + }, tag)) + end end) |