Update awesome wm layouts and enable useless gaps

main
felixm 2023-05-14 12:18:47 -04:00
parent f3bf0d8de6
commit 94dd808aae
1 changed files with 10 additions and 6 deletions

View File

@ -59,9 +59,11 @@ end
-- {{{ Variable definitions
-- Themes define colours, icons, font and wallpapers.
beautiful.init(gears.filesystem.get_configuration_dir() .. "/theme.lua")
beautiful.useless_gap = 3
beautiful.gap_single_client = false
-- This is used later as the default terminal and editor to run.
terminal = "st"
terminal = "alacritty"
editor = os.getenv("EDITOR") or "vim"
editor_cmd = terminal .. " -e " .. editor
@ -73,21 +75,23 @@ editor_cmd = terminal .. " -e " .. editor
modkey = "Mod4"
-- I prefer an ASCII representation of the layouts.
awful.layout.suit.max.name = "[M]"
awful.layout.suit.tile.name = "[]="
awful.layout.suit.floating.name = "><>"
awful.layout.suit.max.name = "[M]"
awful.layout.suit.tile.name = "[]="
awful.layout.suit.floating.name = "><>"
awful.layout.suit.tile.left.name = "=[]"
awful.layout.suit.spiral.name = "🌀"
-- Table of layouts to cover with awful.layout.inc, order matters.
awful.layout.layouts = {
awful.layout.suit.floating,
awful.layout.suit.max,
awful.layout.suit.tile,
-- awful.layout.suit.tile,
-- awful.layout.suit.tile.left,
-- awful.layout.suit.tile.bottom,
-- awful.layout.suit.tile.top,
-- awful.layout.suit.fair,
-- awful.layout.suit.fair.horizontal,
-- awful.layout.suit.spiral,
awful.layout.suit.spiral,
-- awful.layout.suit.spiral.dwindle,
-- awful.layout.suit.max.fullscreen,
-- awful.layout.suit.magnifier,