Fluxbox has no way for changing the order of the list of windows on the iconbar. The most recently opened window always shows up last on the list. I like to have the windows organized by workspace; if I have one app running on Workspace 1 and something else running on Workspace 2, for example, I want the window on Workspace 1 to show up first on the iconbar, even if that app wasn't the first one started.
Someone came up with the script below. The idea is that it hides and redraws the active window, and moves the window to the end of the list on the iconbar. The script requires the xdotool package.
#!/bin/sh
# designed to be used with a keyboard shortcut
# in ~/.fluxbox/keys that could be:
# Control Shift Mod4 X :Exec /home/username/bin/move-to-end-of-taskbar.sh
xdotool getactivewindow windowunmap windowmap
This is not an ideal solution, but it does allow for rearranging the windows, so it isn't a bad workaround.
Source: https://bgstack15.wordpress.com/2019/09/05/rearrange-windows-on-iconbar-in-fluxbox/
Many thanks to "bgstack15" for putting this out there!
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment