diff --git a/.config/eww/eww.scss b/.config/eww/eww.scss new file mode 100644 index 0000000..a61887a --- /dev/null +++ b/.config/eww/eww.scss @@ -0,0 +1,51 @@ +$foreground: #D9D7CE; +$background: #0F1419; +$cursorColor: #ffcc66; + +$black: #47515b; +$dblack: #0F1419; + +$red: #ff3333; +$dred: #ff6666; + +$green: #bae67e; +$dgreen: #cee6ac; + +$yellow: #ffd580; +$dyellow: #ffe6b3; + +$blue: #73d0ff; +$dblue: #a6e1ff; + +$magenta: #f28779; +$dmagenta: #ffd6da; + +$cyan: #95e6cb; +$dcyan: #ffffff; + +$white: #ffffff; +$dwhite: #ffffff; + +* { + all: unset; +} + +window { + background-color: rgba(0, 0, 0, 0); + color: $white; + font-family: Iosevka; +} + +button { + all: unset; + padding: 10px; +} + +.main-container { + background-color: $background; +} + +.dd_stat-container { + border: 1px solid $blue; +} + diff --git a/.config/eww/eww.xml b/.config/eww/eww.xml new file mode 100644 index 0000000..a5203f7 --- /dev/null +++ b/.config/eww/eww.xml @@ -0,0 +1,21 @@ + + + + + + + + + + ~/.config/eww/scripts/dd_usage.sh + + + + + + + + + + + diff --git a/.config/eww/scripts/dd_usage.sh b/.config/eww/scripts/dd_usage.sh new file mode 100755 index 0000000..3bdf3e6 --- /dev/null +++ b/.config/eww/scripts/dd_usage.sh @@ -0,0 +1,9 @@ +#!/bin/bash +#  + +mount_points=$(lsblk -l | grep part | grep -ve efi -ve SWAP | awk '{printf $7 "\n"}') + +for mp in $mount_points; do + usage=$(df -h $mp | awk '{if(NR>1)print $4 " /" $2 }') + printf " %-10s\t %2s %s %s\n" $mp $usage +done