Skip to content

Bluetooth снимает программную блокировку rfkill; Mod+Shift+V без voxtype говорит, почему молчит / Bluetooth lifts a soft rfkill block; Mod+Shift+V says why it does nothing without voxtype - #161

Closed
MixaDoDs wants to merge 7 commits into
mainfrom
issues-1103

Conversation

@MixaDoDs

@MixaDoDs MixaDoDs commented Nov 3, 2026

Copy link
Copy Markdown
Owner

Fixes #160, #151.

#160 Bluetooth. Bt.blocked теперь значит только аппаратную блокировку (клавиша или переключатель ноутбука). Программную блокировку (её оставляют апплет другого окружения или rfkill block) Bt.setEnabled(true) снимает сам через rfkill unblock bluetooth и включает адаптер, когда BlueZ его отпустит. Серый переключатель и подсказка «выключен кнопкой на ноутбуке» появляются только при аппаратной блокировке.

#151 Mod+Shift+V. Клавиша теперь вызывает angelos voice. Если демон voxtype запущен, работает как раньше (voxtype record toggle). Если нет, приходит уведомление: voxtype не установлен (и где его включить), на паузе в игре или выключен.

Проверено: qml-check зелёный, niri validate проходит, все ветки angelos voice прогнаны с заглушкой notify-send. Bluetooth вживую не проверен: на машине автора нет адаптера.


#160 Bluetooth. Bt.blocked now means only a hard block (a laptop key or switch). A soft block (left by another desktop's applet or rfkill block) is lifted by Bt.setEnabled(true) itself via rfkill unblock bluetooth, and the adapter is powered once BlueZ lets go. The greyed-out switch and the "switched off by a laptop key" hint show only for a hard block.

#151 Mod+Shift+V. The key now runs angelos voice. With the voxtype daemon running it works as before (voxtype record toggle). Without it you get a notification: voxtype isn't installed (and where to turn it on), it's paused for a game, or it's off.

🤖 Generated with Claude Code

Alastor1991 and others added 7 commits November 2, 2026 15:10
… one a line

Every new Golden Gate setting touched two one-line lists in services/GoldenGate.qml:
_watched (what triggers sanitize) and themeKeys (what «Reset the theme» puts back). So
any two PRs adding a setting conflicted there (#141, #145, #149, #152, #153 do, pairwise).

- _watched is built from the keys of limits and choices: a key with a range or a list
  of choices is watched by being there (lightFrom and darkFrom, in limits but missing
  from the old list, are watched now too);
- themeKeys, limits and choices hold one key a line, in order, so new settings land on
  lines of their own.

No change in behaviour otherwise. qml-check: 719 files, 0 errors; the Golden Gate system
tests pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…tting goes in

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
In the eco mode niri-game-mode turns niri's blur off for angelOS's layers as well, but
GoldenGate.gameMode only knew the fullscreen header of cfg/game-mode.kdl ("effects off").
The eco one says "no blur", so the glass kept its clear tint over a sharp background and
the Control Centre, menus and the rest could not be read.

gameMode now matches either header; reduceTransparency, glassFx and blurOn follow it as
they do for a game. qml-check: 719 files, 0 errors.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
GOLDEN-GATE.md (what turns the glass off: both headers of cfg/game-mode.kdl), PLUGINS.md
and STUDIO_CONTRACT.md (when Skin.reduceTransparency is true) and the comment over it in
services/Skin.qml name the eco mode now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Golden Gate: стекло становится сплошным и в эко-режиме / the glass goes solid in the eco mode too
Golden Gate: ключи для проверки из limits и choices, список сброса по строке / the watched keys from limits and choices, the reset list one a line
…ype объясняет, почему молчит

#160: Bt.blocked теперь только аппаратная блокировка (клавиша/переключатель ноутбука).
Программную (апплет другого DE, rfkill block) setEnabled снимает сам через
`rfkill unblock bluetooth` и включает адаптер, когда BlueZ его отпустит.
Переключатели больше не серые, подсказка «выключен кнопкой» — только при аппаратной.

#151: Mod+Shift+V идёт через `angelos voice`: работает как раньше, если демон voxtype
запущен, иначе уведомление — не установлен (где включить), на паузе в игре или выключен.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MixaDoDs

MixaDoDs commented Nov 5, 2026

Copy link
Copy Markdown
Owner Author

Вышло в обновлении 05.11 (main 0821398).

@MixaDoDs MixaDoDs closed this Nov 5, 2026
@MixaDoDs
MixaDoDs deleted the issues-1103 branch November 5, 2026 09:47
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.

[Bug] Bluetooth не включается из оболочки, если он заблокирован в rfkill программно

2 participants