From 196bd09206e6beec16765cc8ad586b7a54a9eac6 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Mon, 25 Nov 2024 10:38:50 -0600 Subject: [PATCH] Fix hyprland status in eww bar --- flake.nix | 6 ++---- modules/home-manager/eww/scripts/hypr-workspaces.bash | 2 +- modules/nixos/default.nix | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/flake.nix b/flake.nix index 05e2719..360137a 100644 --- a/flake.nix +++ b/flake.nix @@ -49,7 +49,7 @@ "https://cache.nixos.org/" "https://helix.cachix.org" "https://nix-community.cachix.org" - "https://nix.h.lyte.dev" + # "https://nix.h.lyte.dev" "https://hyprland.cachix.org" ]; @@ -294,7 +294,6 @@ hardware.nixosModules.common-cpu-intel outputs.nixosModules.deno-netlify-ddns-client - { services.deno-netlify-ddns-client = { enable = true; @@ -341,7 +340,6 @@ slippi.nixosModules.default outputs.nixosModules.deno-netlify-ddns-client - { services.deno-netlify-ddns-client = { enable = true; @@ -462,6 +460,7 @@ kde-connect password-manager graphical-workstation + plasma6 virtual-machines virtual-machines-gui laptop @@ -672,7 +671,6 @@ troubleshooting-tools outputs.nixosModules.deno-netlify-ddns-client - { services.deno-netlify-ddns-client = { enable = true; diff --git a/modules/home-manager/eww/scripts/hypr-workspaces.bash b/modules/home-manager/eww/scripts/hypr-workspaces.bash index 6c46e0b..8f869f5 100755 --- a/modules/home-manager/eww/scripts/hypr-workspaces.bash +++ b/modules/home-manager/eww/scripts/hypr-workspaces.bash @@ -63,7 +63,7 @@ workspaces # listen to events and re-render while true; do # TODO: not sure why this socat | read invocation seems to stop? - socat - "UNIX-CONNECT:/tmp/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock" | while read -r line; do + socat - "UNIX-CONNECT:$XDG_RUNTIME_DIR/hypr/$HYPRLAND_INSTANCE_SIGNATURE/.socket2.sock" | while read -r line; do workspaces "$line" done done diff --git a/modules/nixos/default.nix b/modules/nixos/default.nix index 742680d..f4f4e6b 100644 --- a/modules/nixos/default.nix +++ b/modules/nixos/default.nix @@ -409,7 +409,7 @@ "https://cache.nixos.org/" "https://helix.cachix.org" "https://nix-community.cachix.org" - "https://nix.h.lyte.dev" + # "https://nix.h.lyte.dev" "https://hyprland.cachix.org" ]; trusted-public-keys = [