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).
SFWBar is licensed under GNU GPL Weather icons are from yr.no and are licensed under MIT license
- Taskbar - to control floating windows
- Task Switcher - to allow switching active window (Alt-Tab)
- Pager - to allow switching between workspaces
- Tray - a system tray using status notification item protocol
- Window placement engine - to open new windows in more logical locations
- A simple widget set to display information from system files
Install dependencies:
- gtk3
- gtk-layer-shell
- json-c
Compile instructions:
meson build
ninja -C build
sudo ninja -C build install
Copy sfwbar.config from /usr/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. Or if want something like waybar, you can copy wbar.config For more information on the format of configuration file, please see the man page
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