New backup 2025-04-27 00:00:02

This commit is contained in:
Penelope Gwen 2025-04-27 00:00:02 -07:00
parent a1064ce1a1
commit b7260e795d
2 changed files with 16 additions and 9 deletions

View file

@ -172,11 +172,16 @@ tooltip{
.notes {
background-color: rgba($color0,0.5);
padding: 10px;
button {
box {
background-color: rgba($color9,0.5);
border-radius: 6px;
padding: 4px 8px;
margin: 4px;
.timestamp {
font-size: 0.8em;
margin-top: 6px;
color: rgba($color7,1)
}
}
}
.shortcuts {

View file

@ -15,14 +15,16 @@
"Notes"
(for note in json
(button :onclick "kate -n '${note.filepath}'"
(box
:orientation "v"
(label
:xalign 0
:justify "left"
:wrap false
:text "${replace(note.filepath,"${get_env("HOME")}/Documents/Notes/",'')}
${formattime("${note.date}","%F %R")}")
))
:text "${replace(note.filepath,"${get_env("HOME")}/Documents/Notes/",'')}")
(label
:xalign 0.5
:class "timestamp"
:text "${formattime("${note.date}","%F %R")}"))))
; (button :onclick {(device.connected == "yes") ? 'bluetoothctl disconnect "${device.address}"' : 'bluetoothctl connect "${device.address}"'}
; :class {(device.connected == "yes") ? "active" : ""}
; "${device.icon}")) ))