Skip to content

Instantly share code, notes, and snippets.

@tormath1
Last active April 18, 2024 07:41
Show Gist options
  • Save tormath1/3188521f928f4584d2363ce5eb416858 to your computer and use it in GitHub Desktop.
Save tormath1/3188521f928f4584d2363ce5eb416858 to your computer and use it in GitHub Desktop.
Sway + titlebar

Configuration:

$ cat .config/sway/config | grep opa
# opacity
set $opacity 0.97
for_window [class=".*"] opacity $opacity
$ cat .config/sway/config | grep disable
disable_titlebar yes
$ sway --version
sway version 1.9 (+ patch from https://github.com/swaywm/sway/pull/8026)

Result (note the titlebar with tormath1@orchid:~): tmp 3SDuyfvSTA

Without transparency: tmp EuzIDS41hV

@neuromagus
Copy link

yes, master and 1.9 - are different beasts. Use this version for normal work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment