Compare commits

...

2 commits

Author SHA1 Message Date
Benjamin Palko
01c2ea9044 add new dependencies 2025-09-10 12:02:37 -04:00
Benjamin Palko
fbc2a10b69 use quickshell idle inhib 2025-09-09 23:16:20 -04:00
2 changed files with 8 additions and 12 deletions

View file

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