Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save surajmandalcell/7107b1fd32457252d270ea22494fa31f to your computer and use it in GitHub Desktop.
Save surajmandalcell/7107b1fd32457252d270ea22494fa31f to your computer and use it in GitHub Desktop.
remove brackets from linux mint pannel when minimizing

check this javascript file

/usr/share/cinnamon/applets/window-list@cinnamon.org/applet.js

you should be able to edit that. i'm gonna check myself if i can find it.

if (this.metaWindow.minimized) {
    title = "["+ title +"]";
} else if (this.metaWindow.tile_type == Meta.WindowTileType.TILED) {
    title = "|"+ title;
}
else if (this.metaWindow.tile_type == Meta.WindowTileType.SNAPPED) {
    title = "||"+ title;
}

line 406 adds [ ] around the title when the window is minimized

you should comment it out like this:

if (this.metaWindow.minimized) {
   /* title = "["+ title +"]"; */
} else if (this.metaWindow.tile_type == Meta.WindowTileType.TILED) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment