Add kitty, obs, and scripts skeleton code

Also refactors some flake.nix code to not use dictionaries
This commit is contained in:
JuliaLange 2024-04-08 23:19:54 -07:00 committed by Julia Lange
parent c9cd42eaa3
commit c97d94408e
7 changed files with 111 additions and 121 deletions

View file

@ -0,0 +1,10 @@
{ config, pkgs, ... }:
let
select = import ./select.nix { inherit pkgs; };
in
{
home.packages = [
select
];
}

View file

@ -0,0 +1,15 @@
{ pkgs }:
pkgs.writeShellApplication {
name = "select";
runtimeInputs = [ fzf rofi ];
text = ''
if [ ${PPID} -ne 1 ]; then
echo -e $1 | fzf
else
echo -e $1 | rofi -dmenu -p $2
fi
'';
}