From c6fdb6838a56c1c02b848592eed9b4a413ea5768 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Wed, 27 Mar 2024 23:01:40 -0500 Subject: [PATCH] Pie and yuck --- modules/home-manager/eww/eww.yuck | 2 +- modules/home-manager/senpai.nix | 5 +++-- nixos/foxtrot.nix | 3 +++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/home-manager/eww/eww.yuck b/modules/home-manager/eww/eww.yuck index 2c20cc9..dad2983 100644 --- a/modules/home-manager/eww/eww.yuck +++ b/modules/home-manager/eww/eww.yuck @@ -91,7 +91,7 @@ (defpoll showBattery :interval "24h" ; if we have at least one battery in /sys/class/power_supply, we should try and show battery levels - "if find /sys/class/power_supply* -mindepth 1 -maxdepth 1 | rg '\/sys\/class\/power_supply\/BAT'; then echo true; else echo false; fi") + "if find /sys/class/power_supply -mindepth 1 -maxdepth 1 | rg '\/sys\/class\/power_supply\/BAT'; then echo true; else echo false; fi") (defpoll brightness :interval "10s" "echo $(((100 * $(brightnessctl get)) / $(brightnessctl max)))") diff --git a/modules/home-manager/senpai.nix b/modules/home-manager/senpai.nix index 51c9d25..699db5b 100644 --- a/modules/home-manager/senpai.nix +++ b/modules/home-manager/senpai.nix @@ -2,8 +2,9 @@ programs.senpai = { enable = true; config = { - address = "a"; - nickname = "a"; + address = "irc+insecure://beefcake:6667"; + nickname = "lytedev"; + password-cmd = ["pass" "soju"]; }; }; diff --git a/nixos/foxtrot.nix b/nixos/foxtrot.nix index 5bf0b90..e49cf10 100644 --- a/nixos/foxtrot.nix +++ b/nixos/foxtrot.nix @@ -107,6 +107,9 @@ in { wayland.windowManager.hyprland = { settings = { + env = [ + "EWW_BAR_MON,0" + ]; # See https://wiki.hyprland.org/Configuring/Keywords/ for more monitor = [ "eDP-1,2256x1504@60,0x0,${toString scale}"