Source

Status Area Horizontal Spacing Gnome Shell Extension /

The branch 'branch-point' does not exist.
Filename Size Date modified Message
status-area-horizontal-spacing@mathematical.coffee.gmail.com
1.3 KB
2.3 KB
2.2 KB

This is a GNOME shell extension that reduces the horizontal spacing between status area icons (top-right of the panel: volume indicator, etc). (Tested in GNOME 3.2, 3.4).

Status area before (default 12px hpadding):

original (12px padding)

Status area after (6px hpadding):

after with 6px padding

To modify it edit 'stylesheet.js' and change the line:

-natural-hpadding: 6px;

to whatever spacing you want. The original GNOME-shell value is 12px, and the default for this plugin is 6px.

If you reduce it to less than 6px (it looks kind of funny then) you will also have to change the line:

-minimum-hpadding: 6px;

to be the same.

Alternatively, you can just modify /usr/share/gnome-shell/theme/gnome-shell.css and change the lines there...

It essentially lets you modify the .panel-button -natural-padding attribute (default 12px).

Installation

Download the files (go to 'Downloads' and select the zip file).

Start gnome-tweak-tool and select 'Shell Extensions > Install Shell Extension > (zip file you just downloaded)'.

Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.