Project

General

Profile

Actions

Bug #372

closed

Fix nav bar to fit available width

Added by Hammel over 9 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
Theme
Target version:
Start date:
10 Aug 2014
Due date:
% Done:

100%

Estimated time:
Severity:
03 - Medium

Description

Seems like you could do this by:
  1. Get display size
  2. Divide by 32 (size of icons
  3. Subtract 2 (both ends)
  4. Divide by 5 (number of icons + clock)
    That's the number of equals spaces each icon should take. Fit icons in the middle/right of that.

The question is how to get the display size. xdpyinfo might work while xinit is running. If so, it could dynamically generate the mbdock.session file based on the above calculation.

If xdpyinfo doesn't work then another method of finding the display size will be necessary and the dynamic generation of mbdock.session will depend on how that info is gathered.

Actions

Also available in: Atom PDF