It is the system settings app for this desktop, so it is named the way one is. The window is "Settings", the titlebar is "Settings", the wordmark above the search field is gone, the sidebar's last row is "About", and the status line reads "Desktop is healthy". Prose followed the same rule. Forty-odd strings explained what "Panama" does -- "Panama never animates while idle", "Restore Panama defaults", "Panama looks in ~/Pictures/Wallpapers" -- which is how a product describes itself, not how a settings panel describes a setting. They now say what happens. No user-visible "Panama" remains anywhere in the app. Two consequences worth naming: The SUPER+I shortcut's description is user-visible, because the Shortcuts page is generated from it, so that is renamed too. Rebindings are keyed by shipped chord rather than description, so no existing override is orphaned by this. Three contracts matched the window by title and one matched that shortcut by description; all four are updated. There are no Hyprland window rules keyed on the title, so nothing about the window's placement changes. The desktop entry is now Name=Settings, but the FILE keeps its panama-settings name, as does the icon: the dock pins applications by desktop id, and renaming the file would silently unpin it. dock-pins-contract covers exactly that. The dated design docs under docs/superpowers keep the old name. They are a record of what was decided when, and editing them to agree with the present would make them lie about the past. Claude-Session: https://claude.ai/code/session_01BRvzt4H8XXLPVH5MyYdk9L
66 lines
2.0 KiB
QML
66 lines
2.0 KiB
QML
// Accessibility.
|
|
//
|
|
// Pointer size and text scale have to agree across three consumers that share
|
|
// no configuration system -- the compositor, GTK applications, and the shell.
|
|
// Panama's store is the source of truth and services/Accessibility.qml pushes
|
|
// the value to the other two.
|
|
|
|
import QtQuick
|
|
import qs.config
|
|
import qs.services
|
|
|
|
SettingsPage {
|
|
id: root
|
|
|
|
title: "Accessibility"
|
|
lede: "Make the desktop easier to see and easier to hit."
|
|
|
|
SettingsCard {
|
|
title: "Pointer"
|
|
subtitle: "Applied to the compositor and to applications at the same time."
|
|
|
|
SliderRow { setting: "cursorSize" }
|
|
SliderRow { setting: "cursorInactiveTimeout"; zeroLabel: "Never"; divider: false }
|
|
}
|
|
|
|
SettingsCard {
|
|
title: "Text"
|
|
subtitle: "Scales text in applications. The shell's own panels are drawn at their design size, so they are unaffected."
|
|
|
|
SliderRow { setting: "textScale"; divider: false }
|
|
}
|
|
|
|
SettingsCard {
|
|
title: "Motion"
|
|
subtitle: "Nothing animates while idle. This affects motion you asked for — windows opening, workspaces sliding, panels appearing."
|
|
|
|
ToggleRow { setting: "animationsEnabled"; divider: false }
|
|
}
|
|
|
|
SettingsCard {
|
|
title: "Contrast"
|
|
subtitle: "Unfocused windows can be faded to make the focused one obvious, or left at full strength if that is harder to read."
|
|
|
|
SliderRow { setting: "inactiveOpacity"; divider: false }
|
|
}
|
|
|
|
SettingsCard {
|
|
title: "System accessibility"
|
|
subtitle: "Screen reader, zoom, and on-screen keyboard are provided by GNOME's accessibility stack."
|
|
|
|
ActionRow {
|
|
label: "GNOME accessibility settings"
|
|
detail: "Opens in GNOME Settings"
|
|
action: "Open"
|
|
divider: false
|
|
onTriggered: SystemSettings.openGnomePanel("universal-access")
|
|
}
|
|
}
|
|
|
|
SettingsCard {
|
|
visible: Accessibility.lastError !== ""
|
|
title: "Could not apply"
|
|
subtitle: Accessibility.lastError
|
|
}
|
|
}
|