BSD Ports

x11/sfwbar 1.0.b17 DragonFly

Flexible taskbar application for wayland compositors

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
GPLv3
Categories
wayland, x11
Package size
329.7 KiB, 1335.8 KiB installed

Description

SFWBar (S* Floating Window Bar) is a flexible taskbar application for wayland compositors, designed with a stacking layout in mind. Originally developed for Sway, SFWBar will work with any wayland compositor supporting layer shell protocol, the taskbar and window switcher functionality shall work with any compositor supportinig foreign toplevel protocol, but the pager, and window placement functionality require sway (or at least i3 IPC support).

In the other systems

The newest version among them is 1.0.b17, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlyx11/sfwbar1.0.b17 newestnone known-[email protected]-
FreeBSDx11/sfwbar1.0.b17 newestnone known-[email protected]-
NetBSDwayland/sfwbar by name1.0_beta17nb3 behind since 2026-11-11none known-[email protected]2026-09-29
HardenedBSDx11/sfwbar1.0.b17 newestno data-[email protected]-
GhostBSDx11/sfwbar1.0.b17 newestno data-[email protected]-

Compare across BSDs

Version history 1

  1. 1.0.b17

Upstream's version as each commit to the port's Makefile set it, or as this site first saw it in the system's packages; the tree's own revisions are not versions here.

Install

Binary package:

pkg install sfwbar

From DPorts:

cd /usr/dports/x11/sfwbar && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 17

No port depends on this one.

Configuration

No options to configure.

Service scripts
none
Flavors
sfwbar-lite-1.0.b17

Message after installing

Copy sfwbar.config from /usr/local/share/sfwbar to ~/.config/sfwbar/.
If you prefer to start with something more like tint2 bar, you can copy t2.config into ~/.config/sfwbar/sfwbar.config instead.
If you want something like waybar, you can copy wbar.config and if you prefer something from the darker side, w10.config could be for you.
For more information on the format of configuration file, please see the man page

If you're using sway, you may want to add the following lines to your sway config file to open windows as floating by default:

# open new windows as floating by default
for_window [app_id="[.]*"] floating enable
# set Alt-tab as a task switcher combo
bindsym Alt+Tab bar hidden_state toggle 
# set $mod+c to hide/unhide taskbar 
bindsym $mod+c bar mode toggle