mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-01-11 20:00:29 +01:00
[PR #176] [MERGED] Allow disabling window decorations/controls #101
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/mountain-loop/yaak/pull/176
Author: @AlphaNecron
Created: 3/2/2025
Status: ✅ Merged
Merged: 5/16/2025
Merged by: @gschier
Base:
master← Head:master📝 Commits (7)
a8c1951Allow disabling window decorations/controls1d8016aAdjust headerbar padding when not using window controls9817f8aSet padding-left of headerbar to 2px2a21087Merge branch 'master' into master8a45408Merge branch 'master' into fork/AlphaNecron/masterf88f623Cleanup for merge18d10a2Only show setting for non-mac OS📊 Changes
17 files changed (+75 additions, -58 deletions)
View changed files
➕
src-tauri/migrations/20250302041707_hide-window-controls.sql(+2 -0)📝
src-tauri/yaak-models/bindings/gen_models.ts(+1 -1)📝
src-tauri/yaak-models/bindings/gen_util.ts(+6 -6)📝
src-tauri/yaak-models/src/models.rs(+4 -0)📝
src-tauri/yaak-models/src/queries/settings.rs(+1 -0)📝
src-web/components/HeaderSize.tsx(+30 -16)📝
src-web/components/Settings/Settings.tsx(+2 -5)📝
src-web/components/Settings/SettingsAppearance.tsx(+10 -0)📝
src-web/components/WindowControls.tsx(+7 -6)📝
src-web/components/core/Checkbox.tsx(+2 -2)📝
src-web/components/core/HotKey.tsx(+1 -3)📝
src-web/components/core/Select.tsx(+2 -3)📝
src-web/hooks/useHotKey.ts(+2 -4)➖
src-web/hooks/useOsInfo.ts(+0 -5)📝
src-web/hooks/useStoplightsVisible.ts(+2 -3)📝
src-web/lib/constants.ts(+1 -1)📝
src-web/routes/__root.tsx(+2 -3)📄 Description
This PR allows disabling window controls, mainly for WMs like Hyprland, which don't need these controls.
With controls
Without controls
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.