diff options
| author | hhvn <dev@hhvn.uk> | 2024-04-14 13:48:13 +0100 |
|---|---|---|
| committer | hhvn <dev@hhvn.uk> | 2024-04-14 13:48:13 +0100 |
| commit | 75a34eb4b035963970c8415316c2b2bd6a81eea6 (patch) | |
| tree | e648fc1c0df1cf8410a44d22094abceaea67ee4e /bar.go | |
| parent | 6154256e9ad6fcac5360755372612315374fdc21 (diff) | |
Use config.Urg for desktops with urgent window
Diffstat (limited to 'bar.go')
| -rw-r--r-- | bar.go | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -114,10 +114,10 @@ func (b bar) draw(state *bspc.State, blocks []*status.Block) error { cx += 5 - if d.Focused { - bg = config.Sel - } else { - bg = config.FgDark + switch { + case d.Urgent(): bg = config.Urg + case d.Focused: bg = config.Sel + default: bg = config.FgDark } filled = d.Root != nil |