diff options
Diffstat (limited to 'pkgs/by-name/ya/yambar-modules/src')
-rw-r--r-- | pkgs/by-name/ya/yambar-modules/src/cpu.rs | 10 | ||||
-rw-r--r-- | pkgs/by-name/ya/yambar-modules/src/main.rs | 10 | ||||
-rw-r--r-- | pkgs/by-name/ya/yambar-modules/src/memory.rs | 10 |
3 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/by-name/ya/yambar-modules/src/cpu.rs b/pkgs/by-name/ya/yambar-modules/src/cpu.rs index 5a6dd084..f53107a8 100644 --- a/pkgs/by-name/ya/yambar-modules/src/cpu.rs +++ b/pkgs/by-name/ya/yambar-modules/src/cpu.rs @@ -1,3 +1,13 @@ +// nixos-config - My current NixOS configuration +// +// Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of my nixos-config. +// +// You should have received a copy of the License along with this program. +// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. + use std::{thread, time::Duration}; use sysinfo::{CpuExt, System, SystemExt}; diff --git a/pkgs/by-name/ya/yambar-modules/src/main.rs b/pkgs/by-name/ya/yambar-modules/src/main.rs index 315c3be7..03bafadf 100644 --- a/pkgs/by-name/ya/yambar-modules/src/main.rs +++ b/pkgs/by-name/ya/yambar-modules/src/main.rs @@ -1,3 +1,13 @@ +// nixos-config - My current NixOS configuration +// +// Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of my nixos-config. +// +// You should have received a copy of the License along with this program. +// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. + use std::{env::args, process}; mod cpu; diff --git a/pkgs/by-name/ya/yambar-modules/src/memory.rs b/pkgs/by-name/ya/yambar-modules/src/memory.rs index 6da714cc..7c2c4669 100644 --- a/pkgs/by-name/ya/yambar-modules/src/memory.rs +++ b/pkgs/by-name/ya/yambar-modules/src/memory.rs @@ -1,3 +1,13 @@ +// nixos-config - My current NixOS configuration +// +// Copyright (C) 2025 Benedikt Peetz <benedikt.peetz@b-peetz.de> +// SPDX-License-Identifier: GPL-3.0-or-later +// +// This file is part of my nixos-config. +// +// You should have received a copy of the License along with this program. +// If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>. + use std::{thread, time::Duration}; use sysinfo::{System, SystemExt}; |