Skip to content

Hide native window decorations on tiling window managers - #680

Merged
debba merged 2 commits into
mainfrom
feat/tiling-window-decorations
Aug 27, 2026
Merged

Hide native window decorations on tiling window managers#680
debba merged 2 commits into
mainfrom
feat/tiling-window-decorations

Conversation

@debba

@debba debba commented Aug 26, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • detect common Linux tiling window managers using session and desktop environment variables
  • hide native decorations automatically on Hyprland, Sway, i3, Niri, River, bspwm, and other recognized tiling environments
  • add Automatic, Always show, and Always hide options to the general settings
  • apply the selected decoration mode immediately to open windows and use it for newly created secondary windows
  • keep native decorations enabled by default on non-Linux platforms
  • add translations for the new settings

Testing

  • cargo test --manifest-path src-tauri/Cargo.toml window_decorations --lib
  • pnpm exec tsc --noEmit
  • pnpm exec eslint src/components/settings/GeneralTab.tsx src/contexts/SettingsContext.ts
  • validated all locale JSON files with jq

@kilo-code-bot

kilo-code-bot Bot commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (23 files)
  • src-tauri/src/commands.rs
  • src-tauri/src/config.rs
  • src-tauri/src/connection_window.rs
  • src-tauri/src/explain_import.rs
  • src-tauri/src/json_viewer.rs
  • src-tauri/src/lib.rs
  • src-tauri/src/results_window.rs
  • src-tauri/src/task_manager.rs
  • src-tauri/src/window_decorations.rs
  • src-tauri/src/window_decorations_tests.rs
  • src/components/settings/GeneralTab.tsx
  • src/contexts/SettingsContext.ts
  • src/i18n/locales/de.json
  • src/i18n/locales/en.json
  • src/i18n/locales/es.json
  • src/i18n/locales/fr.json
  • src/i18n/locales/it.json
  • src/i18n/locales/ja.json
  • src/i18n/locales/ko.json
  • src/i18n/locales/pt-BR.json
  • src/i18n/locales/ru.json
  • src/i18n/locales/tl.json
  • src/i18n/locales/zh.json

Reviewed by glm-5.2 · Input: 55K · Output: 14.4K · Cached: 201K

@debba
debba merged commit 9e6975a into main Aug 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant