diff --git a/.config/autostart/Nextcloud.desktop b/.config/autostart##hostname.owlenpc00/Nextcloud.desktop similarity index 100% rename from .config/autostart/Nextcloud.desktop rename to .config/autostart##hostname.owlenpc00/Nextcloud.desktop diff --git a/.config/autostart/easyeffects-service.desktop b/.config/autostart##hostname.owlenpc00/easyeffects-service.desktop similarity index 100% rename from .config/autostart/easyeffects-service.desktop rename to .config/autostart##hostname.owlenpc00/easyeffects-service.desktop diff --git a/.config/autostart##hostname.owlenpc00/eww.desktop b/.config/autostart##hostname.owlenpc00/eww.desktop new file mode 100644 index 0000000..e21ff25 --- /dev/null +++ b/.config/autostart##hostname.owlenpc00/eww.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Exec=/home/mpuchstein/.local/bin/eww open-many topbar_DP-2 topbar_DP-3 +Name=eww +Type=Application diff --git a/.config/autostart/hyprman.desktop b/.config/autostart##hostname.owlenpc00/hyprman.desktop similarity index 100% rename from .config/autostart/hyprman.desktop rename to .config/autostart##hostname.owlenpc00/hyprman.desktop diff --git a/.config/autostart##hostname.owlenpc00/jellyfin-mpv-shim.desktop b/.config/autostart##hostname.owlenpc00/jellyfin-mpv-shim.desktop new file mode 100644 index 0000000..c99f8a6 --- /dev/null +++ b/.config/autostart##hostname.owlenpc00/jellyfin-mpv-shim.desktop @@ -0,0 +1,4 @@ +[Desktop Entry] +Exec=/usr/bin/jellyfin-mpv-shim +Name=jellyfin-mpv-shim +Type=Application diff --git a/.config/autostart/jetbrains-toolbox.desktop b/.config/autostart##hostname.owlenpc00/jetbrains-toolbox.desktop similarity index 100% rename from .config/autostart/jetbrains-toolbox.desktop rename to .config/autostart##hostname.owlenpc00/jetbrains-toolbox.desktop diff --git a/.config/autostart/nm-applet.desktop b/.config/autostart##hostname.owlenpc00/nm-applet.desktop similarity index 100% rename from .config/autostart/nm-applet.desktop rename to .config/autostart##hostname.owlenpc00/nm-applet.desktop diff --git a/.config/autostart/org.keepassxc.KeePassXC.desktop b/.config/autostart##hostname.owlenpc00/org.keepassxc.KeePassXC.desktop similarity index 100% rename from .config/autostart/org.keepassxc.KeePassXC.desktop rename to .config/autostart##hostname.owlenpc00/org.keepassxc.KeePassXC.desktop diff --git a/.config/autostart/qpwgraph.desktop b/.config/autostart##hostname.owlenpc00/qpwgraph.desktop similarity index 100% rename from .config/autostart/qpwgraph.desktop rename to .config/autostart##hostname.owlenpc00/qpwgraph.desktop diff --git a/.config/autostart/signal-desktop.desktop b/.config/autostart##hostname.owlenpc00/signal-desktop.desktop similarity index 100% rename from .config/autostart/signal-desktop.desktop rename to .config/autostart##hostname.owlenpc00/signal-desktop.desktop diff --git a/.config/autostart/swayosd-server.desktop b/.config/autostart##hostname.owlenpc00/swayosd-server.desktop similarity index 100% rename from .config/autostart/swayosd-server.desktop rename to .config/autostart##hostname.owlenpc00/swayosd-server.desktop diff --git a/.config/autostart/walker-service.desktop b/.config/autostart##hostname.owlenpc00/walker-service.desktop similarity index 100% rename from .config/autostart/walker-service.desktop rename to .config/autostart##hostname.owlenpc00/walker-service.desktop diff --git a/.config/eww/widgets/sysmon.yuck b/.config/eww/widgets/sysmon.yuck new file mode 100644 index 0000000..3329081 --- /dev/null +++ b/.config/eww/widgets/sysmon.yuck @@ -0,0 +1,51 @@ +(defvar netiface "enp34s0") + +(defwidget sysmon [] + (box + :class 'sysmon' + :space-evenly false + :spacing 0 + (cpu :class "first") + (ram :class "middle") + (disk :class "middle") + (net :class "last"))) + +(defwidget ram [class] + (tooltip + :class 'ram ${EWW_RAM.used_mem_perc > 90 ? 'danger' : ''} ${class}' + (label :text " ${round(EWW_RAM.free_swap/1000000000, 2)} GB/${round(EWW_RAM.total_swap/1000000000, 2)} GB") + (label :text " ${round(EWW_RAM.used_mem/1000000000, 2)} GB/${round(EWW_RAM.total_mem/1000000000, 2)} GB"))) + +(defwidget disk [class] + (tooltip + :class 'disk ${EWW_DISK["/"].used_perc > 90 ? 'danger' : ''} ${class}' + (label :text " ${round(EWW_DISK["/"].free/1000000000, 2)} GB /${round(EWW_DISK["/"].total/1000000000, 2)} GB") + (label :text " ${round(EWW_DISK["/"].used_perc,2)}%"))) + +(defwidget cpu [class] + (tooltip + :class 'cpu ${class}' + (box :orientation "vertical" + (for cpu in {EWW_CPU.cores} + (box + :orientation "horizontal" + :space-evenly false + :spacing 10 + (circular-progress + :thickness 5 + :start-at 75 + :value {cpu.usage}) + (label + :limit-width 6 + :show-truncated false + :text "${cpu.core}: ") + (label :text "${cpu.freq} Hz ${cpu.usage}%")))) + (label :text " ${round(EWW_CPU.avg, 2)}%"))) + +(defwidget net [class] + (box + :class 'net ${class}' + :space-evenly false + (label :text "") + (label :text " ${round(EWW_NET[netiface].NET_UP * 8 / 1000000, 2)} Mbit") + (label :text " ${round(EWW_NET[netiface].NET_DOWN * 8 / 1000000, 2)} Mbit")))