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

@ -25,6 +25,7 @@
"include \"live.kdl\""
"output \"eDP-1\" { scale 1.1; }"
"animations { window-open { duration-ms 3000; curve \"linear\"; custom-shader r\"\n${builtins.readFile ./shaders/arc.frag}\";};}"
"binds {Mod+Shift+I { spawn \"${./scripts/cpdate.sh}\"; }; }"
];
in
{

View file

@ -2,7 +2,7 @@ binds {
// spawn terminal
Mod+Return repeat=false { spawn "kitty"; }
Mod+D repeat=false { spawn "fuzzel"; }
Mod+I repeat=false { spawn "bemoji"; }
Mod+I repeat=false { spawn "bemoji" "-n"; }
Mod+M repeat=false { spawn "hyprpicker"; }
Mod+E repeat=false { spawn "kitty" "hx" "~/.config/niri/live.kdl"; }

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
}