diff --git a/.config/ags/modules/.commonwidgets/notification.js b/.config/ags/modules/.commonwidgets/notification.js index 2602573d1..5e4074041 100644 --- a/.config/ags/modules/.commonwidgets/notification.js +++ b/.config/ags/modules/.commonwidgets/notification.js @@ -153,7 +153,7 @@ export default ({ useMarkup: true, xalign: 0, justify: Gtk.Justification.LEFT, - maxWidthChars: 24, + maxWidthChars: 1, truncate: 'end', label: notifObject.body.split("\n")[0], }), @@ -172,7 +172,7 @@ export default ({ useMarkup: true, xalign: 0, justify: Gtk.Justification.LEFT, - maxWidthChars: 24, + maxWidthChars: 1, wrap: true, label: notifObject.body, }), @@ -231,7 +231,7 @@ export default ({ className: 'txt-small txt-semibold titlefont', justify: Gtk.Justification.LEFT, hexpand: true, - maxWidthChars: 24, + maxWidthChars: 1, truncate: 'end', ellipsize: 3, useMarkup: notifObject.summary.startsWith('<'), diff --git a/.config/ags/modules/bar/normal/music.js b/.config/ags/modules/bar/normal/music.js index 9dbf5c55e..1df922351 100644 --- a/.config/ags/modules/bar/normal/music.js +++ b/.config/ags/modules/bar/normal/music.js @@ -139,7 +139,7 @@ export default () => { hexpand: true, className: 'txt-smallie bar-music-txt', truncate: 'end', - maxWidthChars: 10, // Doesn't matter, just needs to be non negative + maxWidthChars: 1, // Doesn't matter, just needs to be non negative setup: (self) => self.hook(Mpris, label => { const mpris = Mpris.getPlayer(''); if (mpris) diff --git a/.config/ags/modules/bar/normal/spaceleft.js b/.config/ags/modules/bar/normal/spaceleft.js index b3d796b63..7bfb40d3f 100644 --- a/.config/ags/modules/bar/normal/spaceleft.js +++ b/.config/ags/modules/bar/normal/spaceleft.js @@ -15,7 +15,7 @@ const WindowTitle = async () => { Widget.Label({ xalign: 0, truncate: 'end', - maxWidthChars: 10, // Doesn't matter, just needs to be non negative + maxWidthChars: 1, // Doesn't matter, just needs to be non negative className: 'txt-smaller bar-wintitle-topdesc txt', setup: (self) => self.hook(Hyprland.active.client, label => { // Hyprland.active.client label.label = Hyprland.active.client.class.length === 0 ? 'Desktop' : Hyprland.active.client.class; @@ -24,7 +24,7 @@ const WindowTitle = async () => { Widget.Label({ xalign: 0, truncate: 'end', - maxWidthChars: 10, // Doesn't matter, just needs to be non negative + maxWidthChars: 1, // Doesn't matter, just needs to be non negative className: 'txt-smallie bar-wintitle-txt', setup: (self) => self.hook(Hyprland.active.client, label => { // Hyprland.active.client label.label = Hyprland.active.client.title.length === 0 ? `Workspace ${Hyprland.active.workspace.id}` : Hyprland.active.client.title; diff --git a/.config/ags/modules/sideright/centermodules/audiocontrols.js b/.config/ags/modules/sideright/centermodules/audiocontrols.js index fc309c5c4..5fc442139 100644 --- a/.config/ags/modules/sideright/centermodules/audiocontrols.js +++ b/.config/ags/modules/sideright/centermodules/audiocontrols.js @@ -27,7 +27,7 @@ const AppVolume = (stream) => Box({ children: [ Label({ xalign: 0, - maxWidthChars: 10, + maxWidthChars: 1, truncate: 'end', label: stream.description, className: 'txt-small', @@ -76,7 +76,7 @@ const AudioDevices = (input = false) => { xalign: 0, className: 'txt-small', truncate: 'end', - maxWidthChars: 10, + maxWidthChars: 1, label: stream.description, }), ], @@ -99,7 +99,7 @@ const AudioDevices = (input = false) => { xalign: 0, className: 'txt-small', truncate: 'end', - maxWidthChars: 10, + maxWidthChars: 1, label: `${input ? '[In]' : '[Out]'}`, setup: (self) => self.hook(Audio, (self) => { self.label = `${input ? '[In]' : '[Out]'} ${input ? Audio.microphone.description : Audio.speaker.description}`; diff --git a/.config/ags/modules/sideright/centermodules/bluetooth.js b/.config/ags/modules/sideright/centermodules/bluetooth.js index 989774f35..bb752347c 100644 --- a/.config/ags/modules/sideright/centermodules/bluetooth.js +++ b/.config/ags/modules/sideright/centermodules/bluetooth.js @@ -28,7 +28,7 @@ const BluetoothDevice = (device) => { children: [ Label({ xalign: 0, - maxWidthChars: 10, + maxWidthChars: 1, truncate: 'end', label: device.name, className: 'txt-small', @@ -38,7 +38,7 @@ const BluetoothDevice = (device) => { }), Label({ xalign: 0, - maxWidthChars: 10, + maxWidthChars: 1, truncate: 'end', label: device.connected ? 'Connected' : (device.paired ? 'Paired' : ''), className: 'txt-subtext',