From f17962ccba4fc0e8807a3d5f3163e7203ab09489 Mon Sep 17 00:00:00 2001 From: lostmia Date: Fri, 21 Mar 2025 13:24:07 +0100 Subject: [PATCH 1/3] Fixed that awful background color... --- common/nixos-wayland.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/nixos-wayland.nix b/common/nixos-wayland.nix index 568564b..dc95e20 100644 --- a/common/nixos-wayland.nix +++ b/common/nixos-wayland.nix @@ -190,7 +190,7 @@ font HackNerdFont-Regular 16 ### Output configuration - #output * scale 1 bg ${./..}/resources/nix.png fill + output * scale 1 bg #121212 solid_color ### Input configuration input type:keyboard { From b2fab37586cdfeb6cde501d2c9f13ff53ef4d885 Mon Sep 17 00:00:00 2001 From: lostmia Date: Fri, 21 Mar 2025 13:24:36 +0100 Subject: [PATCH 2/3] Fixed PPD not being enabled --- common/nixos-wayland.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/nixos-wayland.nix b/common/nixos-wayland.nix index dc95e20..8ccf008 100644 --- a/common/nixos-wayland.nix +++ b/common/nixos-wayland.nix @@ -1086,6 +1086,8 @@ ''; }; + # Don't forget to actually enable the damn thing... + services.power-profiles-daemon.enable = true; security.pam.services.swaylock = { text = '' From bab6f2f8467f77cc2c9d36d126adee8d51cbd514 Mon Sep 17 00:00:00 2001 From: lostmia Date: Fri, 21 Mar 2025 13:25:26 +0100 Subject: [PATCH 3/3] Fixed Battery not showing up --- scripts/get_power_usage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/get_power_usage.sh b/scripts/get_power_usage.sh index fd11e4b..ca95c99 100755 --- a/scripts/get_power_usage.sh +++ b/scripts/get_power_usage.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -power=$(cat /sys/class/power_supply/BAT1/current_now /sys/class/power_supply/BAT1/voltage_now | xargs | awk '{ printf "%.1f\n", $1 * $2 / 1e12 }') +power=$(cat /sys/class/power_supply/BAT*/current_now /sys/class/power_supply/BAT*/voltage_now | xargs | awk '{ printf "%.1f\n", $1 * $2 / 1e12 }') echo $power