add location and do not disturb toggles
This commit is contained in:
parent
b5e5ecf2f3
commit
518ffa31b4
1 changed files with 263 additions and 3 deletions
15
README.md
15
README.md
|
|
@ -10,6 +10,9 @@ The bar shows the time, cellular, Wi-Fi, Bluetooth and battery. The sheet has:
|
|||
|
||||
- Wi-Fi, Bluetooth, cellular and mobile data toggles. The arrow on Wi-Fi opens `nmgui`, and on
|
||||
Bluetooth it opens `adw-bluetooth`.
|
||||
- Location, which decides whether apps get your location through GeoClue. The bar shows an icon
|
||||
while one is using it.
|
||||
- Do not disturb, which stops notifications popping up. They still go into the sheet.
|
||||
- A flashlight
|
||||
- Rotation, with a choice of orientations
|
||||
- Screenshot and power (suspend, restart, power off) buttons
|
||||
|
|
@ -50,6 +53,15 @@ It brings `nmcli`, `mmcli`, `nmgui` and `adw-bluetooth` with it. The system need
|
|||
- The Papirus-Dark icon theme and the Inter font
|
||||
- An on-screen keyboard that uses text-input-v3, like Stevia, to type the password
|
||||
- No other notification daemon, like swaync or mako, as only one can run at a time
|
||||
- GeoClue, with quadshell as its agent, for the location toggle:
|
||||
|
||||
```nix
|
||||
services.geoclue2 = {
|
||||
enable = true;
|
||||
enableDemoAgent = false;
|
||||
whitelistedAgents = [ "quadshell" ];
|
||||
};
|
||||
```
|
||||
|
||||
## Developing
|
||||
|
||||
|
|
@ -60,7 +72,8 @@ nix run .#phone [host]
|
|||
This copies `src` to the phone over SSH (`host` defaults to `phone`) and runs it there, showing
|
||||
its logs until you press Ctrl+C. It stops any other running Quickshell first, so when you quit
|
||||
there's no bar until you run it again. The phone needs Quickshell from this flake's nixpkgs
|
||||
already in its store, as it doesn't download anything.
|
||||
already in its store. The location agent gets built on the phone, from things this machine copies
|
||||
over, so the phone doesn't need to download anything.
|
||||
|
||||
### Editor support
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue