diff --git a/.config/autostart/Nextcloud.desktop b/.config/autostart##hostname.owlenlap02/Nextcloud.desktop similarity index 100% rename from .config/autostart/Nextcloud.desktop rename to .config/autostart##hostname.owlenlap02/Nextcloud.desktop diff --git a/.config/autostart##hostname.owlenlap02/eww.desktop b/.config/autostart##hostname.owlenlap02/eww.desktop new file mode 120000 index 0000000..3d48e57 --- /dev/null +++ b/.config/autostart##hostname.owlenlap02/eww.desktop @@ -0,0 +1 @@ +eww.desktop##hostname.owlenlap02 \ No newline at end of file diff --git a/.config/autostart/hyprman.desktop b/.config/autostart##hostname.owlenlap02/hyprman.desktop similarity index 100% rename from .config/autostart/hyprman.desktop rename to .config/autostart##hostname.owlenlap02/hyprman.desktop diff --git a/.config/autostart/jellyfin-mpv-shim.desktop b/.config/autostart##hostname.owlenlap02/jellyfin-mpv-shim.desktop similarity index 100% rename from .config/autostart/jellyfin-mpv-shim.desktop rename to .config/autostart##hostname.owlenlap02/jellyfin-mpv-shim.desktop diff --git a/.config/autostart/jetbrains-toolbox.desktop b/.config/autostart##hostname.owlenlap02/jetbrains-toolbox.desktop similarity index 100% rename from .config/autostart/jetbrains-toolbox.desktop rename to .config/autostart##hostname.owlenlap02/jetbrains-toolbox.desktop diff --git a/.config/autostart/nm-applet.desktop b/.config/autostart##hostname.owlenlap02/nm-applet.desktop similarity index 100% rename from .config/autostart/nm-applet.desktop rename to .config/autostart##hostname.owlenlap02/nm-applet.desktop diff --git a/.config/autostart/org.keepassxc.KeePassXC.desktop b/.config/autostart##hostname.owlenlap02/org.keepassxc.KeePassXC.desktop similarity index 100% rename from .config/autostart/org.keepassxc.KeePassXC.desktop rename to .config/autostart##hostname.owlenlap02/org.keepassxc.KeePassXC.desktop diff --git a/.config/autostart/signal-desktop.desktop b/.config/autostart##hostname.owlenlap02/signal-desktop.desktop similarity index 100% rename from .config/autostart/signal-desktop.desktop rename to .config/autostart##hostname.owlenlap02/signal-desktop.desktop diff --git a/.config/autostart/swayosd-server.desktop b/.config/autostart##hostname.owlenlap02/swayosd-server.desktop similarity index 100% rename from .config/autostart/swayosd-server.desktop rename to .config/autostart##hostname.owlenlap02/swayosd-server.desktop diff --git a/.config/autostart/walker-service.desktop b/.config/autostart##hostname.owlenlap02/walker-service.desktop similarity index 100% rename from .config/autostart/walker-service.desktop rename to .config/autostart##hostname.owlenlap02/walker-service.desktop diff --git a/.config/autostart/eww.desktop##hostname.owlenlap02 b/.config/autostart/eww.desktop##hostname.owlenlap02 deleted file mode 100644 index 80010f6..0000000 --- a/.config/autostart/eww.desktop##hostname.owlenlap02 +++ /dev/null @@ -1,4 +0,0 @@ -[Desktop Entry] -Exec=/home/mpuchstein/.local/bin/eww open topbar_owlenlap02 -Name=eww -Type=Application diff --git a/.config/eww/topbar_owlenlap02.scss b/.config/eww/topbar_owlenlap02.scss new file mode 100644 index 0000000..ab04927 --- /dev/null +++ b/.config/eww/topbar_owlenlap02.scss @@ -0,0 +1,47 @@ +@import 'widgets'; + +* { + all: unset; +} + +tooltip { + background: #2E3440; + color: #E5E6E7; + border-radius: 1.5rem 1rem; + border: 1px solid #6F7175; +} + +.popup { + background: #2E3440; + color: #E5E6E7; + border: 1px solid #6F7175; +} + +.popup menuitem:hover { + background: grey; +} + +window { + background: transparent; + color: transparent; + + * { + font-family: 'Inconsolata Go Nerd Font'; + font-size: 0.85rem; + border-radius: 1.5rem 1rem; + padding: 2px 6px; + } + + /* Modules */ + .left { + //background: orange; + } + + .center { + //background: blue; + } + + .right { + //background: yellow; + } +} diff --git a/.config/eww/topbar_owlenlap02.yuck b/.config/eww/topbar_owlenlap02.yuck new file mode 100644 index 0000000..6841533 --- /dev/null +++ b/.config/eww/topbar_owlenlap02.yuck @@ -0,0 +1,50 @@ +(defwindow topbar_owlenlap02 + :monitor "eDP-1" + :geometry (geometry :x "0%" + :y "0%" + :width "90%" + :height "10px" + :anchor "top center") + :stacking "bg" + :exclusive true + :reserve (struts :side "top" :distance "4%") + :windowtype "dock" + (bar3)) + +(defwidget bar3 [] + (centerbox :orientation "h" + (bar0_left) + (bar0_center) + (bar0_right))) + +(defwidget bar0_left [] + (box :orientation 'h' + :class: 'left' + :space-evenly false + :spacing 5 + :halign 'start' + (hypr_workspaces) + (hypr_active_window))) + + +(defwidget bar0_center [] + (box :orientation 'h' + :class 'center' + :space-evenly false + :spacing 5 + (media) + (hyprscreencast) + (sysmon))) + +(defwidget bar0_right [] + (box + :orientation 'h' + :class 'right' + :space-evenly false + :spacing 5 + :halign 'end' + (hyprsunset) + (datetime) + (stray) + (volume) + (swaync))) 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/eww/widgets/sysmon.yuck b/.config/eww/widgets/sysmon.yuck new file mode 120000 index 0000000..c740ee5 --- /dev/null +++ b/.config/eww/widgets/sysmon.yuck @@ -0,0 +1 @@ +sysmon.yuck##hostname.owlenlap02 \ No newline at end of file