Изучение различных методов настройки строки заголовка с помощью темы Kitty Gnome

.title-bar {
  background-color: #ffcc00;
  color: #ffffff;
  font-family: 'Comic Sans MS', cursive;
  /* Add more customizations as desired */
}

Функция

в C++:

#include <Windows.h>
HWND hwnd = GetForegroundWindow();
LONG_PTR style = GetWindowLongPtr(hwnd, GWL_STYLE);
SetWindowLongPtr(hwnd, GWL_STYLE, style & ~WS_CAPTION);
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
window = Gtk.Window()
window.set_titlebar(Gtk.HeaderBar())
const { BrowserWindow } = require('electron');
let mainWindow = new BrowserWindow({
  titleBarStyle: 'hidden',
  // Add more customizations as desired
});