From bffeb0d59fe36c0751b9ef8e0946f2877f800009 Mon Sep 17 00:00:00 2001 From: Matthias Puchstein Date: Mon, 10 Mar 2025 19:20:20 +0100 Subject: [PATCH] laptop config --- .config/autostart/eww.desktop | 4 --- .config/eww/eww.yuck | 1 + .config/eww/widgets/sysmon.yuck | 51 --------------------------------- .config/hypr/monitors.conf | 4 --- .config/hypr/workspaces.conf | 12 -------- 5 files changed, 1 insertion(+), 71 deletions(-) delete mode 100644 .config/autostart/eww.desktop delete mode 100644 .config/eww/widgets/sysmon.yuck delete mode 100644 .config/hypr/monitors.conf delete mode 100644 .config/hypr/workspaces.conf diff --git a/.config/autostart/eww.desktop b/.config/autostart/eww.desktop deleted file mode 100644 index e21ff25..0000000 --- a/.config/autostart/eww.desktop +++ /dev/null @@ -1,4 +0,0 @@ -[Desktop Entry] -Exec=/home/mpuchstein/.local/bin/eww open-many topbar_DP-2 topbar_DP-3 -Name=eww -Type=Application diff --git a/.config/eww/eww.yuck b/.config/eww/eww.yuck index 477c2e1..b2fc90a 100644 --- a/.config/eww/eww.yuck +++ b/.config/eww/eww.yuck @@ -2,3 +2,4 @@ (include "./topbar_dp2.yuck") (include "./topbar_dp3.yuck") +(include "./topbar_owlenlap02.yuck") diff --git a/.config/eww/widgets/sysmon.yuck b/.config/eww/widgets/sysmon.yuck deleted file mode 100644 index 3329081..0000000 --- a/.config/eww/widgets/sysmon.yuck +++ /dev/null @@ -1,51 +0,0 @@ -(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"))) diff --git a/.config/hypr/monitors.conf b/.config/hypr/monitors.conf deleted file mode 100644 index 57cc744..0000000 --- a/.config/hypr/monitors.conf +++ /dev/null @@ -1,4 +0,0 @@ -# Generated by nwg-displays on 2025-03-08 at 19:18:14. Do not edit manually. - -monitor=DP-2,1920x1080@60.0,0x0,1.0 -monitor=DP-3,1920x1080@144.0,1920x0,1.0 diff --git a/.config/hypr/workspaces.conf b/.config/hypr/workspaces.conf deleted file mode 100644 index 361cb5f..0000000 --- a/.config/hypr/workspaces.conf +++ /dev/null @@ -1,12 +0,0 @@ -# Generated by nwg-displays on 2025-01-03 at 03:55:55. Do not edit manually. - -workspace=default,monitor:DP-2,default:true -workspace=2,monitor:DP-2 -workspace=3,monitor:DP-2 -workspace=4,monitor:DP-2 -workspace=5,monitor:DP-2 -workspace=6,monitor:DP-3,default:true -workspace=7,monitor:DP-3 -workspace=8,monitor:DP-3 -workspace=9,monitor:DP-3 -workspace=10,monitor:DP-3