New backup 2025-04-26 23:45:01

This commit is contained in:
Penelope Gwen 2025-04-26 23:45:01 -07:00
parent 749ae16304
commit a1064ce1a1
3 changed files with 10 additions and 4 deletions

View file

@ -172,7 +172,12 @@ tooltip{
.notes {
background-color: rgba($color0,0.5);
padding: 10px;
button {
background-color: rgba($color9,0.5);
border-radius: 6px;
padding: 4px 8px;
margin: 4px;
}
}
.shortcuts {
background-color: rgba($color0,0.5);

View file

@ -19,8 +19,9 @@
:xalign 0
:justify "left"
:wrap false
:text "${replace(note.filepath,"${get_env("HOME")}/Documents/Notes",'')}aaaaaaaaa
test")
:text "${replace(note.filepath,"${get_env("HOME")}/Documents/Notes/",'')}
${formattime("${note.date}","%F %R")}")
))
; (button :onclick {(device.connected == "yes") ? 'bluetoothctl disconnect "${device.address}"' : 'bluetoothctl connect "${device.address}"'}
; :class {(device.connected == "yes") ? "active" : ""}

View file

@ -1,3 +1,3 @@
#!/usr/bin/env bash
find ~/Documents/Notes/ -type f -exec stat --printf '%y\t%n\n' {} + | sort -rk 1 | head -n 5 | column -ts $'\t' -n 'Notes' -N date,filepath -J
find ~/Documents/Notes/ -type f -exec stat --printf '%Y\t%n\n' {} + | sort -rk 1 | head -n 5 | column -ts $'\t' -n 'Notes' -N date,filepath -J