feat(ags): modify bar Hyprland clientTitle config
Shortens the line if the original is too long
This commit is contained in:
parent
7db7922cd3
commit
8cdaac5bf7
1 changed files with 1 additions and 1 deletions
|
@ -41,7 +41,7 @@ const Workspaces = () => Widget.EventBox({
|
|||
function ClientTitle() {
|
||||
return Widget.Label({
|
||||
class_name: "client-title",
|
||||
label: hyprland.active.client.bind("title"),
|
||||
label: hyprland.active.client.bind("title").as(title => title.length <= 30 ? title : `${title.substring(0, 29)}...`),
|
||||
})
|
||||
}
|
||||
const WifiIndicator = () => Widget.Box({
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue