diff --git a/de/home/.config/eww/eww.scss b/de/home/.config/eww/eww.scss index 875a732..ec96dba 100644 --- a/de/home/.config/eww/eww.scss +++ b/de/home/.config/eww/eww.scss @@ -172,6 +172,7 @@ tooltip{ .notes { background-color: rgba($color0,0.5); padding: 10px; + } .shortcuts { background-color: rgba($color0,0.5); diff --git a/de/home/.config/eww/modules/home/notes.yuck b/de/home/.config/eww/modules/home/notes.yuck index cc806f8..7eabf2e 100644 --- a/de/home/.config/eww/modules/home/notes.yuck +++ b/de/home/.config/eww/modules/home/notes.yuck @@ -4,17 +4,24 @@ (box :class "notes" :orientation "v" - :halign "left" + :halign "baseline" :width 300 - :height 125 + :height 150 :space-evenly true ; "${json.condition} ${json.icon}" ; "${json.current_temp}°F  / ${json.humidity}% " ; " ${json.max_temp}°F  ${json.min_temp}°F" ; " ${json.updated}")) + "Notes" (for note in json (button :onclick "kate -n '${note.filepath}'" - "${replace(note.filepath,"${get_env("HOME")}/Documents/Notes",'')}")) + (label + :xalign 0 + :justify "left" + :wrap false + :text "${replace(note.filepath,"${get_env("HOME")}/Documents/Notes",'')}aaaaaaaaa + test") + )) ; (button :onclick {(device.connected == "yes") ? 'bluetoothctl disconnect "${device.address}"' : 'bluetoothctl connect "${device.address}"'} ; :class {(device.connected == "yes") ? "active" : ""} ; "${device.icon}")) ))