fixed symlinking
This commit is contained in:
1
.config/autostart##hostname.owlenlap02/eww.desktop
Symbolic link
1
.config/autostart##hostname.owlenlap02/eww.desktop
Symbolic link
@@ -0,0 +1 @@
|
||||
eww.desktop##hostname.owlenlap02
|
@@ -1,4 +0,0 @@
|
||||
[Desktop Entry]
|
||||
Exec=/home/mpuchstein/.local/bin/eww open topbar_owlenlap02
|
||||
Name=eww
|
||||
Type=Application
|
47
.config/eww/topbar_owlenlap02.scss
Normal file
47
.config/eww/topbar_owlenlap02.scss
Normal file
@@ -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;
|
||||
}
|
||||
}
|
50
.config/eww/topbar_owlenlap02.yuck
Normal file
50
.config/eww/topbar_owlenlap02.yuck
Normal file
@@ -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)))
|
@@ -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")))
|
1
.config/eww/widgets/sysmon.yuck
Symbolic link
1
.config/eww/widgets/sysmon.yuck
Symbolic link
@@ -0,0 +1 @@
|
||||
sysmon.yuck##hostname.owlenlap02
|
Reference in New Issue
Block a user