Skip to content

Desktop icons and widgets

[desktop] puts a grid of pinned applications, files and folders on the wallpaper. It is on by default.

  • Double-click opens an item: an app launches, a file opens in its default application, a folder opens in your file manager.
  • Click selects, drag moves, and dropping one icon on another swaps them.
  • Right-click an icon: Open, Open with… (files and folders), Rename, Remove from desktop.
  • Right-click bare desktop: Add application…, Add file or folder…, Add widget…, Organize (compact the icons), Change background…, Desktop settings…, Settings…. With the grid off, only Change background… and Settings….
  • Add application… searches names, generic names and keywords (“internet” finds your browser).

Also editable under Settings → Shell → Desktop Grid.

[desktop]
enabled = true
cell_width = 96
cell_height = 96
spacing = 12
padding = 24
icon_size = 48
show_labels = true
[[desktop.items]]
kind = "app"
target = "/usr/share/applications/firefox.desktop"
column = 0
row = 0
[[desktop.items]]
kind = "folder"
target = "/home/user/Documents"
label = "Docs"
column = 1
row = 0
Key Type Default Description
enabled boolean true Show the icon grid and widgets
cell_width number 96 Cell width in logical pixels (minimum 32)
cell_height number 96 Cell height (minimum 32)
spacing number 12 Gap between cells (minimum 0)
padding number 24 Inset from the screen edges inside the panels (minimum 0)
icon_size number 48 Icon size within a cell (minimum 8)
show_labels boolean true Draw each icon’s name

The number of columns and rows is derived from each monitor’s area left free by the panels. Every key applies live, except turning enabled on or off with no [background] entries, which needs a restart.

Each [[desktop.items]] table pins one item. The desktop menu and settings page write these for you.

Key Type Default Description
target string Absolute path (required). For an app, its .desktop file
kind string inferred "app", "file" or "folder"; corrected from the disk if wrong
label string derived Display name; omit for the app’s name or the file’s basename
column int 0 Grid column from the left
row int 0 Grid row from the top
  • An item whose target no longer exists is dimmed, not removed.
  • On a monitor too small for an item’s cell, it is drawn in the nearest free cell; the stored position is kept.

Widgets are cards on the desktop grid that span several cells. Add one with Add widget… on the desktop’s right-click menu. Drag a card to move it and a corner to resize it. Right-click a widget for its quick options (the weather unit, the news outlets), Reset size, Remove widget, and a link to its settings.

type Shows Min Default Max
media_player What is playing over MPRIS, with controls 2×1 3×2 6×4
weather Current conditions and forecast over an animated sky 2×1 3×2 6×4
moon_phase The Moon’s phase, rise and set times 2×1 3×2 6×4
fortune A line from fortune (needs the fortune-mod package) 2×1 3×2 6×4
tux A penguin with something nice to say each day 1×1 1×1 4×3
analog_clock The time on a dial, hour and minute hands 1×1 2×2 4×4
stocks Your stock watchlist 2×1 3×3 6×6
news Latest headlines, newest first 2×1 3×3 6×6

Spans are columns × rows.

[[desktop.widgets]]
type = "moon_phase"
id = "moon_phase"
column = 4
row = 0
column_span = 3
row_span = 2
Key Type Default Description
type string A type from the table above (required)
id string the type Unique name; a duplicate is renamed <type>-2, …
column int 0 Column of the top-left cell
row int 0 Row of the top-left cell
column_span int 1 Width in cells
row_span int 1 Height in cells
  • Spans are clamped to the type’s limits when drawn; the file is not rewritten.
  • An unknown type is drawn as a placeholder you can right-click and remove.
  • A widget moved over icons pushes them aside. Dropping an icon on a widget, or a widget on another widget, is refused. Organize never moves widgets.

Needs no configuration. Rise and set times and the disc’s orientation use the weather location ([modules.weather] latitude and longitude, or Settings → Shell → Modules → Weather). With none set, the weather’s IP lookup is used. If that fails too, the card asks for a weather location in place of the times.

No configuration and no second hand; it redraws once a minute. Larger cards add minute marks, then numerals. Colours come from the theme: control_surface for the dial, foreground for marks and hands, accent for the centre.

Shows the same watchlist as the stocks bar module ([modules.stocks] symbols), from the same poll. Each row has the ticker, price and today’s move. Wider cards add the company name and the day’s range. Click a row to open it on Yahoo Finance.

Headlines from all chosen feeds, newest first, with outlet and time. A story carried by two sources is shown once. Click a story to open it in your browser. The refresh button reads the feeds now. Feeds are only read while a news card is on the desktop. Choose outlets under Settings → Shell → Desktop Grid → News widget.

[news]
sources = ["ap", "reuters", "npr", "https://example.com/rss.xml"]
refresh_minutes = 15
Key Type Default Description
sources array of strings ["ap", "reuters"] Short names below, or http(s):// RSS/Atom feed URLs
refresh_minutes int 15 Minutes between reads, 5–1440
Short name Source
ap Associated Press (via Google News)
reuters Reuters (via Google News)
npr NPR News
bbc BBC News — World
pbs PBS NewsHour
  • Any other entry is ignored. An empty list shows no news, and the card offers to choose sources.
  • AP and Reuters publish no RSS, so they are read through Google News; links go through Google’s redirect.
  • If a source fails, its last stories stay and the error is shown under them; click it to retry.