fuzzel stuff

This commit is contained in:
Schrottkatze 2026-02-14 08:43:51 +01:00
commit 7377d68831
No known key found for this signature in database
3 changed files with 22 additions and 1 deletions

View file

@ -0,0 +1,20 @@
#!/usr/bin/env nu
const FORMATS = [
"%F"
"%R"
"%d.%m.%Y"
"%d.%m"
"%T"
"%FT%H"
"%FT%R"
"%F %R"
"%F %T"
];
def main [] {
let date = date now;
let len = $FORMATS | length;
$FORMATS | each {|it| $date | format date $it } | to text | fuzzel -dl $len | str trim | wl-copy
}