Compare commits
3 commits
e0294e9bd3
...
1aac1a859b
Author | SHA1 | Date | |
---|---|---|---|
Dmitry Voronin | 1aac1a859b | ||
Dmitry Voronin | 93a6e11be9 | ||
Dmitry Voronin | 6390adbfa8 |
|
@ -154,6 +154,7 @@
|
||||||
{
|
{
|
||||||
${system}.default = pkgs.mkShell {
|
${system}.default = pkgs.mkShell {
|
||||||
nativeBuildInputs = with pkgs; [
|
nativeBuildInputs = with pkgs; [
|
||||||
|
cloc
|
||||||
nixd
|
nixd
|
||||||
nixfmt-rfc-style
|
nixfmt-rfc-style
|
||||||
nodePackages.prettier
|
nodePackages.prettier
|
||||||
|
|
|
@ -27,7 +27,7 @@ in
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
environment.packages = package.core;
|
environment.packages = package.core;
|
||||||
nix.extraOptions = "experimental-features = nix-command flakes";
|
nix.extraOptions = "experimental-features = nix-command flakes pipe-operators";
|
||||||
system.stateVersion = const.droidStateVersion;
|
system.stateVersion = const.droidStateVersion;
|
||||||
time.timeZone = const.timeZone;
|
time.timeZone = const.timeZone;
|
||||||
terminal = { inherit (android) font colors; };
|
terminal = { inherit (android) font colors; };
|
||||||
|
|
|
@ -19,7 +19,7 @@ function networkwidget() {
|
||||||
|
|
||||||
if [[ ${bat} != "" ]]; then
|
if [[ ${bat} != "" ]]; then
|
||||||
btinfo+=" ${bat}%"
|
btinfo+=" ${bat}%"
|
||||||
[[ ${bat} -lt ${_bt_lowest} ]] && _bt_lowest=bat
|
[[ ${bat} -lt ${_bt_lowest} ]] && _bt_lowest=${bat}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
_bts+=("${btinfo}")
|
_bts+=("${btinfo}")
|
||||||
|
@ -28,7 +28,7 @@ function networkwidget() {
|
||||||
if [[ ${_bts} != "" ]]; then
|
if [[ ${_bts} != "" ]]; then
|
||||||
icon=""
|
icon=""
|
||||||
|
|
||||||
if [[ ${_bt_lowest} != "" ]] && [[ ${_bt_lowest} -lt 21 ]]; then
|
if [[ ${_bt_lowest} -lt 21 ]]; then
|
||||||
class="btlow"
|
class="btlow"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue