Adds more window title options (#169)
* Adds options for windowtitle to toggle: custom title, icon and truncation * Implements window title toggles: showIcon and showCustomTitle; Adds a new default title function and truncates it if specified * incorporate new show label option into window title * fix window title spacing to work with new styles * allows truncation for custom window titles * allows custom window title icon with default window title * add option to show the window class name or title; refactor for consistency and easier readability * remove redundant custom window title check
This commit is contained in:
@@ -814,8 +814,13 @@ const options = mkOptions(OPTIONS, {
|
||||
icon: opt(""),
|
||||
},
|
||||
windowtitle: {
|
||||
custom_title: opt(true),
|
||||
title_map: opt([]),
|
||||
class_name: opt(true),
|
||||
label: opt(true),
|
||||
icon: opt(true),
|
||||
truncation: opt(true),
|
||||
truncation_size: opt(50),
|
||||
},
|
||||
workspaces: {
|
||||
show_icons: opt(false),
|
||||
|
||||
Reference in New Issue
Block a user