Compare commits

..

No commits in common. "01c2ea90445d7c48c8e79fb871be55be216fff7e" and "a10c2f02540b6ffa30cb0dfcab0084c9424bafde" have entirely different histories.

2 changed files with 12 additions and 8 deletions

View file

@ -12,11 +12,13 @@ Run the shell
quickshell -c shell
```
Run app launcher
```shell
quickshell -c launcher
```
## Dependencies
- `quickshell`
- `qt6-wayland`
- `app2unit`
- `meson`
- `ninja`
- `python3`

View file

@ -1,7 +1,7 @@
pragma Singleton
import Quickshell
import Quickshell.Wayland
import Quickshell.Io
Singleton {
@ -16,14 +16,16 @@ Singleton {
function toggle() {
if (properties.enabled) {
process.signal(888);
properties.enabled = false;
} else {
properties.enabled = true;
}
}
IdleInhibitor {
id: inhibitor
enabled: properties.enabled
Process {
id: process
running: properties.enabled
command: ["sh", "-c", "systemd-inhibit --what=idle --who=Caffeine --why='Caffeine module is active' --mode=block sleep inf"]
}
}