From 7454e96cf4d8441b281eeb8f477f44ef4d1f543b Mon Sep 17 00:00:00 2001 From: Ezri Brimhall Date: Thu, 7 Mar 2024 14:07:00 -0700 Subject: [PATCH] attempted fix to system eww script --- .config/eww/scripts/system.py | 2 +- .config/sway/display-arrangement.conf##hostname.rocinante | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 .config/sway/display-arrangement.conf##hostname.rocinante diff --git a/.config/eww/scripts/system.py b/.config/eww/scripts/system.py index d802661..e2a7e2d 100755 --- a/.config/eww/scripts/system.py +++ b/.config/eww/scripts/system.py @@ -22,7 +22,7 @@ def cpu(): def sensor(chip: str): return { - temp.label: temp.current for temp in psutil.sensors_temperatures().get(chip) + temp.label: temp.current for temp in psutil.sensors_temperatures().get(chip, []) } diff --git a/.config/sway/display-arrangement.conf##hostname.rocinante b/.config/sway/display-arrangement.conf##hostname.rocinante new file mode 100644 index 0000000..d22717c --- /dev/null +++ b/.config/sway/display-arrangement.conf##hostname.rocinante @@ -0,0 +1,7 @@ +### -*-conf-space-*- ### +# Rocinante Display Config # +### ### + +set $builtindisplay eDP-1 + +output $builtindisplay scale 1.2 pos 0 1080