File: test-tag-gap-single-client.lua

package info (click to toggle)
awesome 4.3-8.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,468 kB
  • sloc: ansic: 14,508; sh: 526; makefile: 46
file content (20 lines) | stat: -rw-r--r-- 641 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
local beautiful = require("beautiful")
local runner = require("_runner")

local t = screen.primary.tags[1]
assert(t)

-- The default should be true
assert(t.gap_single_client == true, tostring(t.gap_single_client))

-- Beautiful should override the default
beautiful.gap_single_client = false
assert(t.gap_single_client == false, tostring(t.gap_single_client))

-- Tag-specific properties should override beautiful
t.gap_single_client = true
assert(t.gap_single_client == true, tostring(t.gap_single_client))

runner.run_steps({ function() return true end })

-- vim: filetype=lua:expandtab:shiftwidth=4:tabstop=8:softtabstop=4:textwidth=80