[eww] Fixes networking. [swayosd] Removes instances started by hyprland

This commit is contained in:
2025-04-29 16:42:24 -07:00
parent 1153e9086a
commit 828750087d
3 changed files with 5 additions and 7 deletions

View File

@@ -30,7 +30,7 @@
:spacing 8 :spacing 8
(system-monitor-perf) (system-monitor-perf)
(system-monitor-disks) (system-monitor-disks)
(system-monitor-net) (system-monitor-net :interface "wlo1")
) )
(box (box
:orientation "h" :orientation "h"
@@ -164,7 +164,7 @@
`iwgetid -r` `iwgetid -r`
) )
(defwidget system-monitor-net [] (defwidget system-monitor-net [ interface ]
(system-monitor-group (system-monitor-group
:name "Network" :name "Network"
:orientation "v" :orientation "v"
@@ -174,12 +174,12 @@
) )
(system-monitor-sparkgraph (system-monitor-sparkgraph
:name "Down" :name "Down"
:value {EWW_NET["wlo1"]["NET_DOWN"] / 1000000} :value {EWW_NET[interface]["NET_DOWN"] / 1000000}
:units " MB/s" :units " MB/s"
) )
(system-monitor-sparkgraph (system-monitor-sparkgraph
:name "Up" :name "Up"
:value {EWW_NET["wlo1"]["NET_UP"] / 1000000} :value {EWW_NET[interface]["NET_UP"] / 1000000}
:units " MB/s" :units " MB/s"
) )
) )

View File

@@ -33,7 +33,7 @@
(system-monitor-perf-gpu) (system-monitor-perf-gpu)
) )
(system-monitor-disks) (system-monitor-disks)
(system-monitor-net) (system-monitor-net :interface "enp3s0")
(system-monitor-audio) (system-monitor-audio)
) )
) )

View File

@@ -33,8 +33,6 @@
exec-once = [ exec-once = [
"nm-applet" "nm-applet"
"sleep 2 && hyprpm reload -n" "sleep 2 && hyprpm reload -n"
"swayidle -w before-sleep hyprlock"
"swayosd-server"
"systemctl --user start hyprpolkitagent" "systemctl --user start hyprpolkitagent"
"gsettings set org.gnome.desktop.interface color-scheme \"prefer-dark\"" "gsettings set org.gnome.desktop.interface color-scheme \"prefer-dark\""