moved to Codeberg https://codeberg.org/neuromagus/disable_titlebar_in_sway
This patch for latest Sway (1.10) and old version (1.9) which adds the disable_titlebar
option in the config file.
Instruction:
- Download latest Sway-1.10 source tarball: https://github.com/swaywm/sway/archive/refs/tags/1.10.tar.gz
- Download patch for latest Sway (1.10): disable_titlebar_patch_sway1-10.tar.gz
- Extract Sway-1.10 tarball
- Extract patch and move to sway-1.10 folder
- Go to the sway-1.10 folder and apply the patch
- Compile and install sway (if you want use old Sway version, you need add this command for use old Wlroots!
On Archlinux, for example, use this command:
export PKG_CONFIG_PATH='/usr/lib/wlroots0.17/pkgconfig
beforemeson build/
):
tar xf sway-1.10.tar.gz
tar xf disable_titlebar_patch_sway1-10.tar.gz; mv disable_titlebar_sway1-10.patch sway-1.10/
cd sway-1.10/; patch -p1 < disable_titlebar_sway1-10.patch
meson build/
ninja -C build/
sudo ninja -C build/ install
- Edit
~/.config/sway/config
file and add the option:disable_titlebar yes
or readman 5 sway
xD.
For example, a piece of my ~/.config/sway/config:
workspace_layout tabbed
default_border none
default_floating_border none
disable_titlebar yes
Enjoy.