From 9f89f4ae28f5a8206f9c0589a9e67e5f81445d7f Mon Sep 17 00:00:00 2001 From: The_miro Date: Sat, 29 Mar 2025 16:46:32 +0100 Subject: [PATCH] made ip module only show one address - fixed --- desktopenvs/hyprland/eww/eww.yuck | 2 +- desktopenvs/hyprland/eww/scripts/ip | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) create mode 100755 desktopenvs/hyprland/eww/scripts/ip diff --git a/desktopenvs/hyprland/eww/eww.yuck b/desktopenvs/hyprland/eww/eww.yuck index 9c2e5b9..f48985a 100644 --- a/desktopenvs/hyprland/eww/eww.yuck +++ b/desktopenvs/hyprland/eww/eww.yuck @@ -89,7 +89,7 @@ (defpoll IP :interval "20s" - "hostname -i | tr ' ' '\n' | head -n1 | tail -n1") + "scripts/ip") (defpoll volume :interval "0.5s" "scripts/getvol") diff --git a/desktopenvs/hyprland/eww/scripts/ip b/desktopenvs/hyprland/eww/scripts/ip new file mode 100755 index 0000000..cf1aded --- /dev/null +++ b/desktopenvs/hyprland/eww/scripts/ip @@ -0,0 +1,3 @@ +#!/bin/bash +hostname -i | tr ' ' '\n' | head -n1 | tail -n1 +