Hide the title bar when a window is maximized (like Ubuntu)

kwriteconfig5

  • Write KConfig entries for KDE Plasma.
    More information: <https://userbase.kde.org/KDE_System_Administration/Configuration_Files>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

kwriteconfig5 --file {{~/.config/kwinrc}} --group {{Windows}} --key {{BorderlessMaximizedWindows}} {{true}}

click the source code to copy install kwriteconfig5 on any operating system with command-not-found.com