21 lines
497 B
Nix
21 lines
497 B
Nix
{ writeShellApplication
|
|
, coreutils
|
|
, eww
|
|
, gnugrep
|
|
, gnused
|
|
, hyprland
|
|
, jq
|
|
, procps
|
|
, systemd
|
|
, util-linux
|
|
}:
|
|
|
|
# Lifecycle manager for the eww daemon and the bar window. Used by
|
|
# eww.service (ExecStartPre/Post, ExecReload), eww-watchdog.timer, the kanshi
|
|
# profiles and the user (`eww-bar status`, `eww-bar reset`).
|
|
writeShellApplication {
|
|
name = "eww-bar";
|
|
runtimeInputs = [ coreutils eww gnugrep gnused hyprland jq procps systemd util-linux ];
|
|
text = builtins.readFile ./eww-bar.sh;
|
|
}
|