fthx / babar

Task bar. GNOME Shell extension
GNU General Public License v3.0
41 stars 14 forks source link

ability to reorder task icons on panel #23

Closed vsudakov closed 3 years ago

vsudakov commented 3 years ago

ability to reorder task icons on panel by keyboard shortcut (e.g. Super + Shift + Left/Right)

fthx commented 3 years ago

Sorry but I won't do that. Something like this could eventually happen, with drag and drop for workspace switch for tasks.

The way this extension works makes it difficult to do. The tasks are simply redisplayed when task bar is redrawn. So their order is creation time based (and favorites if selected in options). But no order information is stored inside BaBar between these redraws.

vsudakov commented 3 years ago

@fthx thank you for a quick reply! it makes sense!

yeah - now I'm thinking that if I split my tasks to more workspaces - they will be grouped better.

this can be a workaround for me, thanks!

fthx commented 3 years ago

You can test drag and drop from this GitHub's code (warning: please change all the files, not only extension.js). That does not fit what you asked for, but it's quite handy! You can DnD favorites too, to any existent workspace.