diff options
| author | srdusr <trevorgray@srdusr.com> | 2024-01-23 23:56:34 +0200 |
|---|---|---|
| committer | srdusr <trevorgray@srdusr.com> | 2024-01-23 23:56:34 +0200 |
| commit | 3c4498fb09d03ef07115ad365c008266590a0fcd (patch) | |
| tree | 87cb04ef8dc0badb98ac2a2e8c2d78e18133264a /.config/eww | |
| parent | c0c8edf56cecc1ff03c473ab89193ca899064d3c (diff) | |
| download | dotfiles-3c4498fb09d03ef07115ad365c008266590a0fcd.tar.gz dotfiles-3c4498fb09d03ef07115ad365c008266590a0fcd.zip | |
Removed drives.yuck
Diffstat (limited to '.config/eww')
| -rw-r--r-- | .config/eww/panel/drives.yuck | 77 |
1 files changed, 0 insertions, 77 deletions
diff --git a/.config/eww/panel/drives.yuck b/.config/eww/panel/drives.yuck deleted file mode 100644 index 122f0d8..0000000 --- a/.config/eww/panel/drives.yuck +++ /dev/null @@ -1,77 +0,0 @@ -(defwidget dock-drives [] - (box - :orientation "v" - (disk - :label "System" - :mount "/" - :space "100" - ) - (disk - :label "SSD 1" - :mount "/mnt/ssd250" - :space "250" - ) - (disk - :label "SSD 2" - :mount "/mnt/games" - :space "250" - ) - (disk - :label "HDD" - :mount "/mnt/hdd500" - :space "500" - ) - (disk - :label "RAID" - :mount "/mnt/raid" - :space "3000" - ) - ) -) - -(defwidget disk [label mount space] - (eventbox - :class "disk-wrapper" - (button - :onclick "quick file ${mount}" - (box - :class "disk" - :space-evenly false - (box - :class "disk-icon" - :width 30 - (image :path "/home/edwin/workspace/icons/hard-drive.svg") - ) - (box - :class "disk-usage" - :orientation "v" - :spacing 3 - :space-evenly false - (box - :class "disk-usage-text" - :width 140 - (box - :halign "start" - :valign "start" - label - ) - (box - :halign "end" - :valign "end" - :hexpand true - :vexpand true - "${round(EWW_DISK[mount].free/1000000000, 0)} GB" - ) - ) - (scale - :class "disk-usage-bar" - :marks "false" - :max 100 - :min 0 - :value {EWW_DISK[mount].used_perc} - ) - ) - ) - ) - ) -) |
