diff --git a/eggs/eww/.config/eww/asdf/eww.scss b/eggs/eww/.config/eww/asdf/eww.scss
deleted file mode 100644
index e69de29..0000000
diff --git a/eggs/eww/.config/eww/asdf/eww.xml b/eggs/eww/.config/eww/asdf/eww.xml
deleted file mode 100644
index ecc8abd..0000000
--- a/eggs/eww/.config/eww/asdf/eww.xml
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
-
-
-
-
- foo
-
-
- date | sed 's/:/X/g' | rev
-
-
-
-
-
-
-
-
-
-
-
diff --git a/eggs/eww/.config/eww/eww.scss b/eggs/eww/.config/eww/eww.scss
deleted file mode 100644
index fd05c64..0000000
--- a/eggs/eww/.config/eww/eww.scss
+++ /dev/null
@@ -1,129 +0,0 @@
-entry {
- padding: 10px;
- background: red;
-}
-
-.main_window {
- all: unset;
- background: #1d2021;
-}
-
-.volume_popup {
- &,
- & * {
- all: unset;
- }
- background: #1d2021;
- border-radius: 50px;
-
- scale trough {
- padding: 10px;
- border-radius: 50px;
- background-color: #ebdbb2;
-
- slider {
- background: red;
- }
-
- highlight {
- padding: 10px;
- min-height: 30px;
- border-bottom-left-radius: 50px;
- border-bottom-right-radius: 50px;
- background-color: #8ec07c;
- }
- }
-}
-
-.music {
- &,
- & * {
- all: unset;
- }
-
- .data {
- margin: 15px;
- margin-left: 45px;
-
- .songname {
- color: #8ec07c;
- }
-
- .key {
- color: #928374;
- }
- }
-
- .buttons {
- min-height: 50px;
- background: #1d2021;
- box-shadow: 0 0 10px -5px rgba(0, 0, 0, 0.5);
- }
-}
-
-scale trough {
- padding: 10px;
- border-radius: 50px;
- background-color: #ebdbb2;
-
- highlight {
- padding: 10px;
- min-width: 30px;
- border-bottom-left-radius: 50px;
- border-bottom-right-radius: 50px;
- background-color: #8ec07c;
- }
-}
-
-.this {
- border: 10px solid blue;
-}
-.shit {
- border: 10px solid green;
-}
-.fuck {
- border-radius: 100px;
-}
-
-.whatever {
- border: 2px solid green;
-}
-
-.lol {
- color: red;
-}
-
-window {
- //background: none;
-}
-
-progressbar {
- min-width: 1px;
-
- trough {
- min-width: 1px;
- //background-color: #ebdbb255;
- }
-
- &, & * {
- all: unset;
- }
-
- progress {
- min-width: 1px;
- //background-color: #8CD68F;
- //box-shadow: 0 0 10px 3px #8CD68F22;
- }
-}
-
-progressbar progress {
- background: repeating-linear-gradient(0deg, #458588, #8ec07c); /*, #b8bb26, #fabd2f);*/
- background-size: 100% 200%;
-
- animation: AnimationName 1s linear infinite;
-}
-
-@keyframes AnimationName {
- 0%{background-position:0% 0%}
- 100%{background-position:0% 200%}
-}
diff --git a/eggs/eww/.config/eww/eww.xml b/eggs/eww/.config/eww/eww.xml
deleted file mode 100644
index 0224aea..0000000
--- a/eggs/eww/.config/eww/eww.xml
+++ /dev/null
@@ -1,226 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- hello, world
-
-
-
-
-
-
-
-
- asdasdfflmao
-
-
- | {{ round((EWW_NET["enp34s0"].NET_UP) * 8 / (1024 * 1024), 2)}}
- {{ round((EWW_NET["enp34s0"].NET_DOWN) * 8 / (1024 * 1024), 2)}}
- | {{EWW_RAM}}
- | {{ round((EWW_DISK["/"].free) / (1024 * 1024 * 1024), 2)}}
-
-
-
-
-
- asdf {{ round(0.1234, 2) }}
-
-
-
-
-
-
-
-
- notify-send 'ree' 'this is {{shit}}'
-
-
-
-
-
-
-
-
-
- {{text}}test
-
- {{text}}
- {{text}}
- {{text}}
- {{text}}
-
-
-
- {{date}}
- {{date-tail}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- amixer sget 'Master' | grep 'Front Left:' | sed 's/.*\[\(.*\)%\].*/\1/g';
- LANG=C pactl subscribe | grep --line-buffered sink | while read -r _; do
- amixer sget 'Master' | grep 'Front Left:' | sed 's/.*\[\(.*\)%\].*/\1/g'
- done
-
-
-
- false
-
-
- enp34s0
-
-
-
-
-
- echo 25
-
-
-
-
- true
-
-
-
- false
-
-
-
-
-
-
-
-
- date
-
-
-
-
- date
-
-
-
-
- cat ~/fuck
-
-
-
-
- {"hi": "ho", "hey": "fuck", "lol": "test" }
-
-
-
-
-
-
- /home/leon/reee.sh
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/eggs/eww/.config/eww/eww.yuck b/eggs/eww/.config/eww/eww.yuck
new file mode 100644
index 0000000..d50cf7c
--- /dev/null
+++ b/eggs/eww/.config/eww/eww.yuck
@@ -0,0 +1,15 @@
+(defwindow test
+ :monitor 0
+ :geometry (geometry :x "0%"
+ :y "20px"
+ :width "10%"
+ :height "30px"
+ :anchor "top center")
+ :stacking "fg"
+ :reserve (struts :distance "40px" :side "top")
+ :windowtype "dock"
+ :wm-ignore false
+ (test-widget))
+
+(defwidget test-widget []
+ "Bar")
diff --git a/eggs/eww/.config/eww/example/eww.scss b/eggs/eww/.config/eww/example/eww.scss
deleted file mode 100644
index d8d856e..0000000
--- a/eggs/eww/.config/eww/example/eww.scss
+++ /dev/null
@@ -1,87 +0,0 @@
-
-* {
- all: unset; //Unsets everything so you can style everything from scratch
-}
-
-//Global Styles
-window {
- background-color: #282828;
- color: #ffd5cd;
- font-family: cozette;
-}
-
-button {
- all: unset;
- background-color: #282828;
-}
-
-.bar {
- padding-left: 30px;
- padding-right: 30px;
-}
-
-
-// Styles on classes (see eww.xml for more information)
-
-.sidestuff slider {
- all: unset;
- color: #ffd5cd;
-}
-
-.slider-vol scale trough highlight {
- all: unset;
- background-color: #D35D6E;
- color: #000000;
- border-radius: 10px;
-}
-.slider-vol scale trough {
- all: unset;
- background-color: #4e4e4e;
- border-radius: 50px;
- min-height: 3px;
- min-width: 50px;
- margin-left: 10px;
- margin-right: 20px;
-}
-.slider-ram scale trough highlight {
- all: unset;
- background-color: #D35D6E;
- color: #000000;
- border-radius: 10px;
-}
-.slider-ram scale trough {
- all: unset;
- background-color: #4e4e4e;
- border-radius: 50px;
- min-height: 3px;
- min-width: 50px;
- margin-left: 10px;
- margin-right: 20px;
-}
-.label-ram, .label-vol {
- font-size: large;
-}
-.time {
- padding-right: 10px;
-}
-
-.workspaces button:hover {
- color: #D35D6E;
-}
-
-.workspaces > * {
- padding-left: 5px;
- padding-right: 5px;
-}
-
-.active_wsp {
- color: #8ec07c;
-}
-
-.full_wsp {
- color: #ebdbb2;
-}
-
-.inactive_wsp {
- color: #a89984;
-}
diff --git a/eggs/eww/.config/eww/example/eww.xml b/eggs/eww/.config/eww/example/eww.xml
deleted file mode 100644
index e36dc39..0000000
--- a/eggs/eww/.config/eww/example/eww.xml
+++ /dev/null
@@ -1,125 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{music}}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{hour}}:{{min}} {{month}} {{number_day}}, {{year_full}}
-
-
-
-
-
-
-
-
- playerctl metadata --format '{{ artist }} - {{ title }}'
-
-
-
-
-
-
- amixer -D pulse sget Master | grep 'Left:' | awk -F'[][]' '{ print $2 }' | tr -d '%'
-
-
-
- ~/.config/eww/scripts/workspaces.sh 0
-
-
- ~/.config/eww/scripts/workspaces.sh 1
-
-
- ~/.config/eww/scripts/workspaces.sh 2
-
-
-
- date "+%d"
- date "+%b"
- date "+%M"
- date "+%H"
- date "+%Y"
-
-
-
- printf '%.0f\n' $(LANG=en_US free -m | grep Mem | awk '{print ($3/$2)*100}')
-
-
-
-
-
- echo 50
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/eggs/eww/.config/eww/foo.xml b/eggs/eww/.config/eww/foo.xml
deleted file mode 100644
index 5d0a71f..0000000
--- a/eggs/eww/.config/eww/foo.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-
-
-
- Hey this is a foo
-
-
-
-
-
- shit
-
-
-
diff --git a/eggs/eww/.config/eww/music.sh b/eggs/eww/.config/eww/music.sh
deleted file mode 100755
index c7a609e..0000000
--- a/eggs/eww/.config/eww/music.sh
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/usr/bin/env bash
-
-
-
-fixArtUrl() {
- sed -e 's/open.spotify.com/i.scdn.co/g'
-}
-
-getData() {
- eww update song-name "$(playerctl metadata --format "{{ xesam:title }}")"
- wget -O /tmp/music-file "$(playerctl metadata --format "{{ mpris:artUrl }}"| fixArtUrl)"
- eww update song-image /tmp/music-file
- if [ -f /tmp/music-file ]; then
- eww update song-image-visible true
- else
- eww update song-image-visible false
- fi
-
- eww update song-album "$(playerctl metadata --format "{{ xesam:album }}")"
- eww update song-artist "$(playerctl metadata --format "{{ xesam:artist }}")"
- if [ "spotify" = "$(playerctl metadata | head -n1 | awk '{ print $1 }')" ]; then
- eww update song-show-progress "false"
- else
- eww update song-show-progress "true"
- fi;
-
- song_status="$(playerctl status --format "{{ lc(status) }}")"
- if [ "$song_status" = "playing" ]; then
- eww update song-playpause
- else
- eww update song-playpause
- fi
-
-
-}
-
-getData
-cat <(playerctl metadata --format '{{ title }}' -F & playerctl status -F) 2>&1 /dev/null
diff --git a/eggs/eww/.config/eww/popup.sh b/eggs/eww/.config/eww/popup.sh
deleted file mode 100755
index cb2e400..0000000
--- a/eggs/eww/.config/eww/popup.sh
+++ /dev/null
@@ -1,12 +0,0 @@
-#!/bin/sh
-
-secs="$1"
-window_name="$2"
-
-
-
-#kill -9 "$(cat /tmp/eww-popup.pid)" || \
- #eww -d open "$window_name"
-
-#{ sleep "$secs"; eww close "$window_name"; } &
-#echo $! > /tmp/eww-popup.pid
diff --git a/eggs/eww/.config/eww/scripts/workspaces.sh b/eggs/eww/.config/eww/scripts/workspaces.sh
deleted file mode 100755
index bb97865..0000000
--- a/eggs/eww/.config/eww/scripts/workspaces.sh
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/usr/bin/env bash
-
-monitor="$1"
-
-gib_workspace_names() {
- wmctrl -d \
- | awk '{ print $1 " " $2 " " $9 }' \
- | grep -v NSP \
- | grep "${monitor}_"
-}
-
-gib_workspace_xml() {
- gib_workspace_names | while read -r id active name; do
- name="${name#*_}"
- if [ "$active" == '*' ]; then
- button_class="active_wsp"
- elif wmctrl -l | grep --regexp '.*\s\+'"$id"'\s\+.*' >/dev/null; then
- button_class="full_wsp"
- else
- button_class="inactive_wsp"
- fi
- echo -n ''
- done
-}
-
-xprop -spy -root _NET_CURRENT_DESKTOP | while read -r; do
- echo ''"$(gib_workspace_xml)"''
-done
diff --git a/yolk.rhai b/yolk.rhai
index 7b30a46..5eae9d1 100644
--- a/yolk.rhai
+++ b/yolk.rhai
@@ -31,7 +31,7 @@ export let eggs = #{
"nvim-old": #{ enabled: false },
"wallpapers": #{ targets: "~/.config/wallpapers" },
"alacritty": #{ enabled: !device.windows, targets: "~/.config/alacritty" },
- "eww": merge_into_home(device.linux && device.desktop, []),
+ "eww": merge_into_home(device.linux && device.desktop || device.thinkix, []),
"eww-bar": merge_into_home(device.linux && device.desktop, []),
"foot": #{ enabled: device.linux, targets: "~/.config/foot", templates: ["foot.ini"] },
"git": merge_into_home(true, [".gitconfig"]),