Add kitty, obs, and scripts skeleton code
Also refactors some flake.nix code to not use dictionaries
This commit is contained in:
parent
c9cd42eaa3
commit
c97d94408e
7 changed files with 111 additions and 121 deletions
15
services/scripts/select.nix
Normal file
15
services/scripts/select.nix
Normal 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
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue